AND Instruction
Posted: Mon Sep 16, 2002 8:40 am
Hi,
I was wondering how the SF, ZF and PF flags are affected by the AND instruction, the intel docs say that they are set according to the result, but how are they set? what are the conditions?
Does ZF (Zero Flag) get set to zero if the result is zero and set to one if the result is non-zero? How are the other flags affected, I wish the docs were a bit more clear
Thanks.
I was wondering how the SF, ZF and PF flags are affected by the AND instruction, the intel docs say that they are set according to the result, but how are they set? what are the conditions?
Does ZF (Zero Flag) get set to zero if the result is zero and set to one if the result is non-zero? How are the other flags affected, I wish the docs were a bit more clear
Thanks.