Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L
52
2 INSTRUCTION TABLES
2.5 Application Instructions
2.5 Application Instructions
Rotation instructions
*1 For the High-speed Universal model QCPU, the number of basic steps is four.
Category
Instruction
symbol
symbol
Symbol
Processing details
Execution
condition
condition
Number
of basic
steps
of basic
steps
Subset Reference
Right
rotation of
16-bit data
rotation of
16-bit data
ROR
3
●
RORP
RCR
3
●
RCRP
Left rotation
of 16-bit
data
of 16-bit
data
ROL
3
●
ROLP
RCL
3
●
RCLP
Right
rotation of
32-bit data
rotation of
32-bit data
DROR
3
●
DRORP
DRCR
3
●
DRCRP
Left rotation
of 32-bit
data
of 32-bit
data
DROL
3
●
DROLP
DRCL
3
●
DRCLP
ROR
n
D
SM700
Right rotation by n bits Carry flag
(D)
b0
b15
RORP
n
D
RCR
n
D
SM700
Right rotation by n bits
(D)
b0
b15
Carry flag
RCRP
n
D
ROL
n
D
SM700
Left rotation by n bits
Carry flag
(D)
b0
b15
ROLP
n
D
RCL
n
D
SM700
Left rotation by n bits
(D)
b0
b15
Carry flag
RCLP
n
D
DROR
n
D
b0
b31
SM700
b16
to
b15 to
(D+1)
(D)
Right rotation by n bits Carry flag
DRORP
n
D
DRCR
n
D
b0
b31
SM700
b16
to
b15 to
(D+1)
(D)
Right rotation by n bits Carry flag
DRCRP
n
D
DROL
n
D
b0
b31
SM700
b16
to
b15 to
(D+1)
(D)
Left rotation by n bits
Carry flag
DROLP
n
D
DRCL
n
D
(D+1)
(D)
SM700
b31 to b16 b15 to b0
Left rotation by n bits
Carry flag
DRCLP
n
D