Intel 8XC196K Series User Manual page 450

Table of Contents

Advertisement

Mnemonic
CLRB
CLEAR BYTE. Clears the value of the
operand.
(DEST)
Z
1
CLRC
CLEAR CARRY FLAG. Clears the carry flag.
C
0
Z
CLRVT
CLEAR OVERFLOW-TRAP FLAG. Clears
the overflow-trap flag.
VT
0
Z
CMP
COMPARE WORDS. Subtracts the source
word operand from the destination word
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
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
Table A-6. Instruction Set (Continued)
Operation
0
PSW Flag Settings
N
C
V
VT
ST
0
0
0
PSW Flag Settings
N
C
V
VT
ST
0
PSW Flag Settings
N
C
V
VT
ST
0
PSW Flag Settings
N
C
V
VT
ST
PSW Flag Settings
N
C
V
VT
ST
INSTRUCTION SET REFERENCE
Instruction Format
DEST
CLRB
breg
(00010001) (breg)
CLRC
(11111000)
CLRVT
(11111100)
DEST, SRC
CMP
wreg, waop
(100010aa) (waop) (wreg)
DEST, SRC
CMPB
breg, baop
(100110aa) (baop) (breg)
A-11

Advertisement

Table of Contents
loading

Table of Contents