8XC196MC, MD, MH USER’S MANUAL
A-28
NOT COMPLEMENT WORD. Complements the
value of the word operand (replaces each “1”
with a “0” and each “0” with a “1”).
(DEST)
← NOT (DEST)
NOT wreg
(00000010) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓00——
NOTB COMPLEMENT BYTE. Complements the
value of the byte operand (replaces each “1”
with a “0” and each “0” with a “1”).
(DEST)
← NOT (DEST)
NOTB breg
(00010010) (breg)
PSW Flag Settings
ZNCVVTST
✓✓00——
OR LOGICAL OR WORDS. ORs the source word
operand with the destination word operand
and replaces the original destination operand
with the result. The result has a “1” in each bit
position in which either the source or
destination operand had a “1”.
(DEST)
← (DEST) OR (SRC)
DEST, SRC
OR wreg, waop
(100000aa) (waop) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓00——
ORB LOGICAL OR BYTES. ORs the source byte
operand with the destination byte operand
and replaces the original destination operand
with the result. The result has a “1” in each bit
position in which either the source or
destination operand had a “1”.
(DEST)
← (DEST) OR (SRC)
DEST, SRC
ORB breg, baop
(100100aa) (baop) (breg)
PSW Flag Settings
ZNCVVTST
✓✓00——
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format