Intel 8XC196NT User Manual page 440

Table of Contents

Advertisement

Mnemonic
NEG
NEGATE INTEGER. Negates the value of the
integer operand.
(DEST)
Z
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
Table A-6. Instruction Set (Continued)
Operation
– (DEST)
PSW Flag Settings
N
C
V
VT
– (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
INSTRUCTION SET REFERENCE
Instruction Format
NEG
wreg
(00000011) (wreg)
ST
NEGB
breg
(00010011) (breg)
ST
NOP
(11111101)
ST
SRC, DEST
NORML lreg, breg
(00001111) (breg) (lreg)
ST
A-31

Advertisement

Table of Contents
loading

Table of Contents