8XC196MC, MD, MH USER’S MANUAL
A-12
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)
DEST, SRC
CMPL Dlreg, Slreg
(11000101) (Slreg) (Dlreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓✓—
DEC DECREMENT WORD. Decrements the value
of the operand by one.
(DEST)
← (DEST) –1
DEST
DEC wreg
(00000101) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓↑—
DECB DECREMENT BYTE. Decrements the value
of the operand by one.
(DEST)
← (DEST) –1
DEST
DECB breg
(00010101) (breg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓↑—
DI DISABLE INTERRUPTS. Disables
interrupts. Interrupt calls cannot occur after
this instruction.
Interrupt Enable (PSW.1)
← 0
DI
(11111010)
PSW Flag Settings
ZNCVVTST
——————
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format