Intel 8XC196MC Microscope & Magnifier User Manual


 
8XC196MC, MD, MH USER’S MANUAL
A-16
EXTB SIGN-EXTEND SHORT-INTEGER INTO
INTEGER. Sign-extends the low-order byte
of the operand throughout the high-order byte
of the operand.
if DEST.7 = 1 then
(high byte DEST)
0FFH
else
(high byte DEST)
0
end_if
EXTB wreg
(00010110) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓00—
IDLPD IDLE/POWERDOWN. Depending on the 8-bit
value of the KEY operand, this instruction
causes the device to:
enter idle mode, if KEY=1,
enter powerdown mode, if KEY=2,
execute a reset sequence,
if KEY = any value other than 1 or 2.
The bus controller completes any prefetch
cycle in progress before the CPU stops or
resets.
if KEY = 1 then
enter idle
else if KEY = 2 then
enter powerdown
else
execute reset
IDLPD #key
(11110110) (key)
PSW Flag Settings
ZNCVVTST
KEY = 1 or 2
——————
KEY = any value other than
1 or 2
000000
INC INCREMENT WORD. Increments the value
of the word operand by 1.
(DEST)
(DEST) + 1
INC wreg
(00000111) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓ 0
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format