A SERVICE OF

logo

8. Function Commands
DROR, DRORP
- 254 -
{ DROR, DRORP ... Right rotation of 32-bit data
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { { { {
{
{ { { { { { { {
n
{
{ { { { { {
{
{ { { { { { { { { {
{ {
3
DROR
Right rotation command
nD
Setting data
n
Head No. of device where
right rotation data is stored.
D
Times (0 to 31)
DROR
DRORP
DRORP
nD
Function
The 32-bit data designated with D is rotated n bits to the right excluding the carry flag.
Carry flag
SM12
B15B31B30B29 B16 B2 B1B0
D
n bit rotation
D+1
Execution conditions
The execution conditions for the DROR, DRORP are as shown below.
Right rotation command OFF
DROR
ON
Executed per scan
Executed per scan
DRORP