Intel 8XC196NT User Manual page 429

Table of Contents

Advertisement

8XC196NT USER'S MANUAL
Mnemonic
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)
else
(high byte DEST)
end_if
Z
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 execute a reset sequence,
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
Z
0
INC
INCREMENT WORD. Increments the value
of the word operand by 1.
(DEST)
Z
A-20
Table A-6. Instruction Set (Continued)
Operation
0FFH
0
PSW Flag Settings
N
C
V
VT
0
0
PSW Flag Settings
N
C
V
VT
KEY = 1 or 2
KEY = any value other than
1 or 2
0
0
0
0
(DEST) + 1
PSW Flag Settings
N
C
V
VT
Instruction Format
EXTB
wreg
(00010110) (wreg)
ST
IDLPD
#key
(11110110) (key)
ST
0
INC
wreg
(00000111) (wreg)
ST
0

Advertisement

Table of Contents
loading

Table of Contents