2.2.48 (3) ROTR (L)
ROTR (ROTate Right)
Rotate
Operation
ERd (right rotation)
→
ERd
Assembly-Language Format
ROTR.L
ERd
Operand Size
Longword
Condition Code
H: Previous value remains unchanged.
N: Set to 1 if the result is negative; otherwise
cleared to 0.
Z:
Set to 1 if the result is zero; otherwise
cleared to 0.
V: Always cleared to 0.
C: Receives the previous value in bit 0.
I
UI
H
U
N
Z
V
C
—
—
—
—
↕
↕
0
↕
Description
This instruction rotates the bits in a 32-bit register ERd (destination register) one bit to the right.
The least significant bit is rotated to the most significant bit (bit 31), and also copied to the carry
flag.
Available Registers
ERd: ER0 to ER7
Operand Format and Number of States Required for Execution
Notes
MSB
LSB
b
31
b
0
. . . . . .
C
Instruction Format
1st byte
2nd byte
3rd byte
4th byte
Register direct
ROTR.L
ERd
1
3
B
0 erd
2
No. of
States
Addressing
Mode
Mnemonic
Operands
152