Intel 8XC196MD Microscope & Magnifier User Manual


 
A-27
INSTRUCTION SET REFERENCE
NEG NEGATE INTEGER. Negates the value of the
integer operand.
(DEST)
– (DEST)
NEG wreg
(00000011) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓
NEGB NEGATE SHORT-INTEGER. Negates the
value of the short-integer operand.
(DEST)
– (DEST)
NEGB breg
(00010011) (breg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓
NOP NO OPERATION. Does nothing. Control
passes to the next sequential instruction.
NOP
(11111101)
PSW Flag Settings
ZNCVVTST
——————
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)
0
do while
(MSB (DEST) = 0) AND (COUNT) < 31)
(DEST)
(DEST) × 2
(COUNT)
(COUNT) + 1
end_while
SRC, DEST
NORML lreg, breg
(00001111) (breg) (lreg)
PSW Flag Settings
ZNCVVTST
?0—
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format