Intel 8XC196NT User Manual page 445

Table of Contents

Advertisement

8XC196NT USER'S MANUAL
Mnemonic
SHL
SHIFT WORD LEFT. Shifts the destination
word operand to the left as many times as
specified by the count operand. The count
may be specified either as an immediate
value in the range of 0 to 15 (0FH), inclusive,
or as the content of any register (10H –
0FFH) with a value in the range of 0 to 31
(1FH), inclusive. The right bits of the result
are filled with zeroes. The last bit shifted out
is saved in the carry flag.
Temp
do while Temp
C
(DEST)
Temp
end_while
Z
SHLB
SHIFT BYTE LEFT. Shifts the destination
byte operand to the left as many times as
specified by the count operand. The count
may be specified either as an immediate
value in the range of 0 to 15 (0FH), inclusive,
or as the content of any register (10H –
0FFH) with a value in the range of 0 to 31
(1FH), inclusive. The right bits of the result
are filled with zeroes. The last bit shifted out
is saved in the carry flag.
Temp
do while Temp
C
(DEST)
Temp
end_while
Z
A-36
Table A-6. Instruction Set (Continued)
Operation
(COUNT)
0
High order bit of (DEST)
(DEST) × 2
Temp – 1
PSW Flag Settings
N
C
V
VT
(COUNT)
0
High order bit of (DEST)
(DEST) × 2
Temp – 1
PSW Flag Settings
N
C
V
VT
Instruction Format
SHL
wreg,#count
(00001001) (count) (wreg)
or
SHL
wreg,breg
(00001001) (breg) (wreg)
ST
SHLB
breg,#count
(00011001) (count) (breg)
or
SHLB
breg,breg
(00011001) (breg) (breg)
ST

Advertisement

Table of Contents
loading

Table of Contents