Intel 8XC196NT User Manual page 421

Table of Contents

Advertisement

8XC196NT USER'S MANUAL
Mnemonic
CMPB
COMPARE BYTES. Subtracts the source
byte operand from the destination byte
operand. The flags are altered, but the
operands remain unaffected. If a borrow
occurs, the carry flag is cleared; otherwise, it
is set.
(DEST) – (SRC)
Z
CMPL
COMPARE LONG. Compares the
magnitudes of two double-word (long)
operands. The operands are specified using
the direct addressing mode. The flags are
altered, but the operands remain unaffected.
If a borrow occurs, the carry flag is cleared;
otherwise, it is set.
(DEST) – (SRC)
Z
DEC
DECREMENT WORD. Decrements the value
of the operand by one.
(DEST)
Z
DECB
DECREMENT BYTE. Decrements the value
of the operand by one.
(DEST)
Z
A-12
Table A-6. Instruction Set (Continued)
Operation
PSW Flag Settings
N
C
V
VT
ST
PSW Flag Settings
N
C
V
VT
ST
(DEST) –1
PSW Flag Settings
N
C
V
VT
ST
(DEST) –1
PSW Flag Settings
N
C
V
VT
ST
Instruction Format
DEST, SRC
CMPB
breg, baop
(100110aa) (baop) (breg)
DEST, SRC
CMPL
Dlreg, Slreg
(11000101) (Slreg) (Dlreg)
DEST
DEC
wreg
(00000101) (wreg)
DEST
DECB
breg
(00010101) (breg)

Advertisement

Table of Contents
loading

Table of Contents