Intel 8XC196MC User Manual page 427

Table of Contents

Advertisement

8XC196MC, MD, MH 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
Get other manuals https://www.bkmanuals.com
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

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents