53
2
3
4
5
6
7
8
2.5 Application Instructions
2.5.2 Rotation instructions
*3: The number of steps may vary depending on the device and type of CPU module being used.
Note 1) When using a High Performance model QCPU, Process CPU or Redundant CPU, the number of steps increases but
the processing speed becomes faster.
Note 2) The number of steps may increase due to the conditions described in Page 110, Section 3.8.
2.5.2 Rotation instructions
Component Device
Number of
Steps
High Performance model QCPU
Process CPU
Redundant CPU
• Word device: Internal device (except for file register ZR)
• Bit device: Devices whose device Nos. are multiples of 16, whose digit
designation is K8, and which use no indexing.
• Constant: No limitations
6
Note 1)
Devices other than above
4
Note 2)
Basic model QCPU
All devices that can be used
4
Note 2)
Universal model QCPU
3
Note 2)
LCPU
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
Right
rotation
ROR
3
Page
330
RORP
RCR
3
RCRP
Left
rotation
ROL
3
Page
333
ROLP
RCL
3
RCLP
Right
rotation
DROR
3
Page
335
DRORP
DRCR
3
DRCRP
ROR nD
SM700
Right rotation by n bits Carry flag
(D) b0b15
RORP nD
RCR nD
SM700
Right rotation by n bits
(D) b0b15
Carry flag
RCRP nD
ROL nD
SM700
Left rotation by n bitsCarry flag
(D) b0b15
ROLP nD
RCL nD
SM700
Left rotation by n bitsCarry flag
(D) b0b15
RCLP nD
DROR nD
b0b31 SM700b16
to
b15
to
(D+1) (D)
Right rotation by n bits Carry flag
DRORP nD
DRCR nD
b0b31 SM700b16
to
b15
to
(D+1) (D)
Right rotation by n bits Carry flag
DRCRP nD