Rotate Instructions
77
S7-400 Instruction List
A5E00267845-01
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-
Address
Description
Length
in
Execution Time in
s
Instruc-
tion
Address
ID
Description
Length
in
Words
CPU 412
CPU 414
CPU 416
CPU 417
RLD
Rotate the contents of ACCU1 to
the left
1
0.1
0.06
0.04
0.03
RLD
0 ... 32
the left
RRD
Rotate the contents of ACCU1 to
the right
1
0.1
0.06
0.04
0.03
RRD
0 ... 32
the right
Status word for:
RLD, RRD
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
Yes
0
0
–
–
–
–
–