
TEST
TESTTEST
Operation:
(LSRC) & (RSRC) (CF) - 0
(OF) - 0
Description:
TEST destination,source
TEST performs the logical "and" of the two operands (byte or word), updates the flags, but does not return the result, i.e., neither operand is changed. If a TEST instruction is followed by a JNZ (jump if not zero) instruction, the jump will be taken if there are any correspond- ing
Flags Affected:
CF, OF, PF, SF, ZF. AF undefined