XOR

EXCLUSIVE OR XOR

Operation:

Flags Affected:

(DEST) ~ (LSRC) XOR (RSRC)

CF, OF, PF, SF, ZF.

(CF) ~ 0

AF undefined

(OF) ~ 0

 

Description:

XOR destination,source

XOR (Exclusive Or) performs the logical "exclusive or" of the two operands and returns the result to the destination operand. A bit in the result is set if the corresponding bits of the original operands contain opposite values (one is set, the other is cleared); other- wise the result bit is cleared.

2-164

Page 199
Image 199
Intel 210200-002 manual Exclusive or XOR, XOR destination,source