![Mitsubishi M16C/20 Series Software Manual Download Page 77](http://html1.mh-extra.com/html/mitsubishi/m16c-20-series/m16c-20-series_software-manual_1808679077.webp)
71
LSR
LSR
L
OGICAL
S
HIFT
R
IGHT
This instruction shifts either A or M one bit to the right such
that bit 7 of the result always is set to 0, and the bit 0 is
stored in C.
0
No change
No change
No change
No change
No change
Z is 1 when the operation result is 0; otherwise Z is 0.
C is 1 when the bit 0 of either the A or the M before the
operation is 1; otherwise C is 0.
Op e r a t io n :
F u n c t io n :
St a t u s fla g :
0
→
b7 b0
→
C
N :
V :
T :
B :
I :
D :
Z :
C :
Cycle number
2
5
6
6
7
Byte number
1
2
2
3
3
Machine codes
4A
16
46
16
, zz
16
56
16
, zz
16
4E
16
, ll
16
, hh
16
5E
16
, ll
16
, hh
16
Statement
∆
LSR
∆
A
∆
LSR
∆
$zz
∆
LSR
∆
$zz,X
∆
LSR
∆
$hhll
∆
LSR
∆
$hhll,X
Addressing mode
Accumulator
Zero page
Zero page X
Absolute
Absolute X