8XC196NP, 80C196NU USER’S MANUAL
A-46
Table A-7 lists the instruction opcodes, in hexadecimal order, along with the corresponding in-
struction mnemonics.
XOR LOGICAL EXCLUSIVE-OR WORDS. XORs
the source word operand with the destination
word operand and stores the result in the
destination operand. The result has ones in
the bit positions in which either operand (but
not both) had a “1” and zeros in all other bit
positions.
(DEST)
← (DEST) XOR (SRC)
DEST, SRC
XOR wreg, waop
(100001aa) (waop) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓00——
XORB LOGICAL EXCLUSIVE-OR BYTES. XORs
the source byte operand with the destination
byte operand and stores the result in the
destination operand. The result has ones in
the bit positions in which either operand (but
not both) had a “1” and zeros in all other bit
positions.
(DEST)
← (DEST) XOR (SRC)
DEST, SRC
XORB breg, baop
(100101aa) (baop) (breg)
PSW Flag Settings
ZNCVVTST
✓✓00——
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format