Rotate Instructions
Rotate the contents of ACCU1 to the left or right by the specified number of places. If no address identifier is specified, the contents of
ACCU2-LL are used as the number of places. The last bit shifted is loaded into condition code bit CC1.
Instruc-
Instruc-
Address
Address
tion
ID
RLD
Rotate the contents of ACCU1 to
the left
the left
RLD
0 ... 32
RRD
Rotate the contents of ACCU1 to
the right
the right
RRD
0 ... 32
Status word for:
RLD, RRD
Instruction evaluates:
Instruction affects:
S7-400 Instruction List
A5E00267845-01
Length
Length
Description
Description
in
in
Words
1
1
BR
CC1
–
–
–
Yes
Execution Time in ms
CPU 412
CPU 414
0.1
0.06
0.1
0.06
CC0
OV
OS
–
–
–
0
0
–
Rotate Instructions
CPU 416
CPU 417
0.04
0.03
0.04
0.03
OR
STA
RLO
–
–
–
–
–
–
/FC
–
–
77