Motorola HC12 Refrence Manual page 191

Table of Contents

Advertisement

LSL
Operation:
Description:
Shifts all bits of the memory location M one place to the left. Bit 0 is load-
ed with zero. The C status bit is loaded from the most significant bit of M.
Condition Codes and Boolean Formulas:
S
N:
Z:
V:
C:
Addressing Modes, Machine Code, and Execution Times:
Source Form
LSL opr16a
LSL oprx0_xysp
LSL oprx9,xysp
LSL oprx16,xysp
LSL [D ,xysp ]
LSL [ oprx16,xysp ]
CPU12
REFERENCE MANUAL
Logical Shift Left Memory
(Same as ASL)
C
b7
– – – – – –
X
H
I
N
Z
Set if MSB of result is set; cleared otherwise.
Set if result is $00; cleared otherwise.
N ⊕ C = [N • C] + [N • C] (for N and C after the shift)
Set if (N is set and C is cleared) or (N is cleared and C is set); cleared oth-
erwise (for values of N and C after the shift).
M7
Set if the LSB of M was set before the shift; cleared otherwise.
Address Mode
EXT
IDX
IDX1
IDX2
[D,IDX]
[IDX2]
INSTRUCTION GLOSSARY
0
b0
V
C
Object Code
78 hh ll
68 xb
68 xb ff
68 xb ee ff
68 xb
68 xb ee ff
LSL
Cycles
Access Detail
4
rOPw
3
rPw
4
rPOw
5
frPPw
6
fIfrPw
6
fIPrPw
MOTOROLA
6-131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu12

Table of Contents