8XC196MC, MD, MH USER'S MANUAL
Mnemonic
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
DI
DISABLE INTERRUPTS. Disables
interrupts. Interrupt calls cannot occur after
this instruction.
Interrupt Enable (PSW.1)
Z
—
A-12
Table A-6. Instruction Set (Continued)
Operation
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
↑
—
←
0
PSW Flag Settings
N
C
V
VT
ST
—
—
—
—
—
Get other manuals https://www.bkmanuals.com
Instruction Format
DEST, SRC
CMPL
Dlreg, Slreg
(11000101) (Slreg) (Dlreg)
DEST
DEC
wreg
(00000101) (wreg)
DEST
DECB
breg
(00010101) (breg)
DI
(11111010)