Intel 8XC196K Series User Manual page 466

Table of Contents

Advertisement

Mnemonic
NEGB
NEGATE SHORT-INTEGER. Negates the
value of the short-integer operand.
(DEST)
Z
NOP
NO OPERATION. Does nothing. Control
passes to the next sequential instruction.
Z
NORML
NORMALIZE LONG-INTEGER. Normalizes
the source (leftmost) long-integer operand.
(That is, it shifts the operand to the left until
its most significant bit is "1" or until it has
performed 31 shifts). If the most significant
bit is still "0" after 31 shifts, the instruction
stops the process and sets the zero flag. The
instruction stores the actual number of shifts
performed in the destination (rightmost)
operand.
(COUNT)
do while
(MSB (DEST) = 0) AND (COUNT) < 31)
(DEST)
(COUNT)
end_while
Z
NOT
COMPLEMENT WORD. Complements the
value of the word operand (replaces each "1"
with a "0" and each "0" with a "1").
(DEST)
Z
Table A-6. Instruction Set (Continued)
Operation
– (DEST)
PSW Flag Settings
N
C
V
VT
PSW Flag Settings
N
C
V
VT
0
(DEST) × 2
(COUNT) + 1
PSW Flag Settings
N
C
V
VT
?
0
NOT (DEST)
PSW Flag Settings
N
C
V
VT
0
0
INSTRUCTION SET REFERENCE
Instruction Format
NEGB
breg
(00010011) (breg)
ST
NOP
(11111101)
ST
SRC, DEST
NORML lreg, breg
(00001111) (breg) (lreg)
ST
NOT
wreg
(00000010) (wreg)
ST
A-27

Advertisement

Table of Contents
loading

Table of Contents