8XC196NP, 80C196NU USER’S MANUAL
A-42
ST STORE WORD. Stores the value of the
source (leftmost) word operand into the
destination (rightmost) operand.
(DEST)
← (SRC)
SRC, DEST
ST wreg, waop
(110000aa) (waop) (wreg)
PSW Flag Settings
ZNCVVTST
——————
STB STORE BYTE. Stores the value of the source
(leftmost) byte operand into the destination
(rightmost) operand.
(DEST)
← (SRC)
SRC, DEST
STB breg, baop
(110001aa) (baop) (breg)
PSW Flag Settings
ZNCVVTST
——————
SUB
(2 operands)
SUBTRACT WORDS. Subtracts the source
word operand from the destination word
operand, stores the result in the destination
operand, and sets the carry flag as the
complement of borrow.
(DEST)
← (DEST) – (SRC)
DEST, SRC
SUB wreg, waop
(011010aa) (waop) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓↑—
SUB
(3 operands)
SUBTRACT WORDS. Subtracts the first
source word operand from the second, stores
the result in the destination operand, and sets
the carry flag as the complement of borrow.
(DEST)
← (SRC1) – (SRC2)
DEST, SRC1, SRC2
SUB Dwreg, Swreg, waop
(010010aa) (waop) (Swreg) (Dwreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓↑—
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format