2 bit rotation right instruction (rotr) – Yaskawa Ladder Works Programming Manual User Manual
Page 101

6.2 BIT ROTATION RIGHT Instruction (ROTR)
6-4
6.2 BIT ROTATION RIGHT Instruction (ROTR)
[Outline]
The ROTR instruction is used to rotate bits to the right the number of times designated in the bit table
designated by the leading bit address and bit width.
4
3
2
1
0
m-3
m-2
m-1
Bit Width (m)
Head bit address
Number of rotations
[Format]
Symbol : ROTR
Full Name : Bit Rotate Right
Category : MOVE
Icon :
[Parameter]
Parameter Name
Setting
Head Bit Address
· Any bit type register (except for # and C registers)
· Any bit type register with subscript (except for # and C registers)
Number of Rotations
· Any integer type register
· Any integer type register with subscript
· Constant
Bit Width
· Any integer type register
· Any integer type register with subscript
· Constant