Rotation Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

2.5.2

Rotation instructions

Category
ROR
RORP
Right
rotation
RCR
RCRP
ROL
ROLP
Left
rotation
RCL
RCLP
DROR
DRORP
Right
rotation
DRCR
DRCRP
DROL
DROLP
Left
rotation
DRCL
DRCLP
2-32
Table 2.19 Rotation Instructions
Symbol
b15
ROR
D
n
RORP
D
n
Right rotation by n bits Carry flag
b15
RCR
D
n
RCRP
D
n
Right rotation by n bits
ROL
D
n
ROLP
D
n
Carry flag
RCL
D
n
RCLP
D
n
Carry flag
DROR
D
n
DRORP
D
n
DRCR
D
n
DRCRP
D
n
DROL
D
n
DROLP
D
n
Carry flag
DRCL
D
n
DRCLP
D
n
Carry flag
Processing Details
(D)
b0
SM700
(D)
b0
SM700
Carry flag
SM700
b15
(D)
Left rotation by n bits
SM700
b15
(D)
Left rotation by n bits
(D+1)
(D)
b31
to
b16
b15 to
b0
SM700
Right rotation by n bits Carry flag
(D+1)
(D)
b31
to
b16
b15 to
b0
SM700
Right rotation by n bits Carry flag
(D+1)
(D)
SM700
b31
b16
b15 to
to
Left rotation by n bits
(D+1)
SM700
b31
to
b16
b15 to
Left rotation by n bits
Execution
Condition
b0
b0
b0
(D)
b0
3
7-35
3
3
7-38
3
3
7-41
3
3
7-44
3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents