Intel 210200-002 manual Testtest, Test destination,source

Models: 210200-002

1 354
Download 354 pages 14.88 Kb
Page 193
Image 193

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 I-bits in both operands.

Flags Affected:

CF, OF, PF, SF, ZF. AF undefined

2-158

Page 193
Image 193
Intel 210200-002 manual Testtest, Test destination,source