2-32
2.5.2 Rotation instructions
Table 2.19 Rotation Instructions
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
Right
rotation
ROR
3
7-35
RORP
RCR
3
RCRP
Left
rotation
ROL
3
7-38
ROLP
RCL
3
RCLP
Right
rotation
DROR
3
7-41
DRORP
DRCR
3
DRCRP
Left
rotation
DROL
3
7-44
DROLP
DRCL
3
DRCLP
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
DROL nD
b0b31SM700 b16
to
b15
to
(D+1) (D)
Left rotation by n bitsCarry flag
DROLP nD
DRCL nD
(D+1) (D)
b0b31SM700 b16
to
b15
to
Left rotation by n bitsCarry flag
DRCLP nD