XOR
EXCLUSIVE
OR
Operation:
(DEST)
~
(LSRC) XOR (RSRC)
(CF)
~
0
(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
Flags Affected:
CF, OF, PF, SF, ZF.
AF undefined
XOR