Intel 8XC196K Series User Manual page 477

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL
Mnemonic
SUBB
SUBTRACT BYTES. Subtracts the source
(2 operands)
byte operand from the destination byte
operand, stores the result in the destination
operand, and sets the carry flag as the
complement of borrow.
(DEST)
Z
SUBB
SUBTRACT BYTES. Subtracts the first
(3 operands)
source byte operand from the second, stores
the result in the destination operand, and sets
the carry flag as the complement of borrow.
(DEST)
Z
SUBC
SUBTRACT WORDS WITH BORROW.
Subtracts the source word operand from the
destination word operand. If the carry flag
was clear, SUBC subtracts 1 from the result.
It stores the result in the destination operand
and sets the carry flag as the complement of
borrow.
(DEST)
Z
SUBCB
SUBTRACT BYTES WITH BORROW.
Subtracts the source byte operand from the
destination byte operand. If the carry flag was
clear, SUBCB subtracts 1 from the result. It
stores the result in the destination operand
and sets the carry flag as the complement of
borrow.
(DEST)
Z
A-38
Table A-6. Instruction Set (Continued)
Operation
(DEST) – (SRC)
PSW Flag Settings
N
C
V
VT
ST
(SRC1) – (SRC2)
PSW Flag Settings
N
C
V
VT
ST
(DEST) – (SRC) – (1–C)
PSW Flag Settings
N
C
V
VT
ST
(DEST) – (SRC) – (1–C)
PSW Flag Settings
N
C
V
VT
ST
Instruction Format
DEST, SRC
SUBB
breg, baop
(011110aa) (baop) (breg)
DEST, SRC1, SRC2
SUBB
Dbreg, Sbreg, baop
(010110aa) (baop) (Sbreg) (Dbreg)
DEST, SRC
SUBC
wreg, waop
(101010aa) (waop) (wreg)
DEST, SRC
SUBCB
breg, baop
(101110aa) (baop) (breg)

Advertisement

Table of Contents
loading

Table of Contents