Intel 8XC196MC User Manual page 421

Table of Contents

Advertisement

8XC196MC, MD, MH 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 zeros. 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 zeros. The last bit shifted out is
saved in the carry flag.
Temp
do while Temp
C
(DEST)
Temp
end_while
Z
A-32
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
Get other manuals https://www.bkmanuals.com
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

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents