Mitsubishi Electronics E60 Video Game Controller User Manual


 
RCR
- 152 -
{ RCR ... Right rotation of 16-bit data
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
D
n
3
RCR
Right rotation command
n
D
RCR
Setting data
n
No. of device where right
rotation data is stored.
D
Times (0 to 15)
Function
The 16-bit data designated with D is rotated n bits to the right including the carry flag.
The carry flag must be set to 1 or 0 before executing RCR.
Carry flag
(SM12)
B15
B14
B13B12B11B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
D (16-bits)
n-bit rotation
Execution conditions
The execution conditions for the RCR command are as shown below.
Right rotation command OFF
RCR
ON
Executed per scan
Executed per scan