Mitsubishi M16C/60 Series Software Manual page 77

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

LSR
Op e r a t io n :
0
F u n c t io n :
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.
St a t u s fla g :
N :
V :
T :
B :
I :
D :
Z :
C :
Addressing mode
∆LSR∆A
Accumulator
∆LSR∆$zz
Zero page
∆LSR∆$zz,X
Zero page X
∆LSR∆$hhll
Absolute
∆LSR∆$hhll,X
Absolute X
L
OGICAL
b7
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.
Statement
S
R
HIFT
IGHT
Machine codes
4A
16
46
, zz
16
16
56
, zz
16
16
4E
, ll
, hh
16
16
16
5E
, ll
, hh
16
16
16
LSR
b0
C
Cycle number
Byte number
2
1
5
2
6
2
6
3
7
3
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents