Intel 8XC196MH Microscope & Magnifier User Manual


 
8XC196MC, MD, MH USER’S MANUAL
A-32
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.
Te mp
(COUNT)
do while Temp
0
C
High order bit of (DEST)
(DEST)
(DEST) × 2
Temp
Temp – 1
end_while
SHL wreg, #count
(00001001) (count) (wreg)
or
SHL wreg, breg
(00001001) (breg) (wreg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓
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.
Te mp
(COUNT)
do while Temp
0
C
High order bit of (DEST)
(DEST)
(DEST) × 2
Temp
Temp – 1
end_while
SHLB breg, #count
(00011001) (count) (breg)
or
SHLB breg, breg
(00011001) (breg) (breg)
PSW Flag Settings
ZNCVVTST
✓✓✓✓
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format