DRCR
- 156 -
{ DRCR ... Right rotation of 32-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
DRCR
Right rotation command
n
D
Setting data
n
Head No. of device where
right rotation data is stored.
D
Times (0 to 31)
DRCR
Function
The 32-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 DRCR.
Carry flag
(SM12)
B15
B31
B30B29 B16
B2
B1 B0
D
n-bit rotation
D+1
Execution conditions
The execution conditions for the DRCR command are as shown below.
Right rotation command OFF
DRCR
ON
Executed per scan
Executed per scan