Mitsubishi M16C/60 Series Software Manual page 86

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

Advertisement

ROR
Op e r a t io n :
F u n c t io n :
This instruction shifts either A or M one bit right through C. C
is stored in bit 7 and bit 0 is stored in C.
N :
St a t u s fla g :
V:
T:
B:
I:
D:
Z:
C:
Addressing mode
∆ROR∆A
Accumulator
∆ROR∆$zz
Zero page
∆ROR∆$zz,X
Zero page X
∆ROR∆$hhll
Absolute
∆ROR∆$hhll,X
Absolute X
80
R
O
OTATE
C
b7
N is 1 when C is 1 before the operation; otherwise N is 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 bit 0 is 1 before the operation; otherwise C is
0.
Statement
R
NE BIT
IGHT
Machine codes
6A
16
66
, zz
16
16
76
, zz
16
16
6E
, ll
, hh
16
16
16
7E
, ll
, hh
16
16
16
ROR
b0
Byte number
Cycle number
1
2
2
5
2
6
3
6
3
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/20 series

Table of Contents