Intel Microcontroller Microscope & Magnifier User Manual


 
8XC196NP, 80C196NU USER’S MANUAL
A-20
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, KEY=1,
to enter powerdown mode, KEY=2,
to enter standby mode, KEY=3, (NU only)
to execute a reset sequence,
KEY = any value other than 1 or 2 (NP)
or 1, 2, or 3 (NU).
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 if KEY = 3 then
enter standby (NU only)
else
execute reset
IDLPD #key
(11110110) (key)
PSW Flag Settings
ZNCVVTST
KEY = 1 or 2 (NP)
or 1, 2, or 3 (NU)
——————
KEY = any value other than
1 or 2 (NP) or 1, 2, or 3 (NU)
000000
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format