Intel 8XC196NT User Manual page 420

Table of Contents

Advertisement

Mnemonic
CLR
CLEAR WORD. Clears the value of the
operand.
(DEST)
Z
1
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
Table A-6. Instruction Set (Continued)
Operation
0
PSW Flag Settings
N
C
V
VT
ST
0
0
0
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
INSTRUCTION SET REFERENCE
Instruction Format
DEST
CLR
wreg
(00000001) (wreg)
DEST
CLRB
breg
(00010001) (breg)
CLRC
(11111000)
CLRVT
(11111100)
DEST, SRC
CMP
wreg, waop
(100010aa) (waop) (wreg)
A-11

Advertisement

Table of Contents
loading

Table of Contents