beautypg.com

1 bit rotation left instruction (rotl) – Yaskawa Ladder Works Programming Manual User Manual

Page 99

background image

6.1 BIT ROTATION LEFT Instruction (ROTL)

6-2

6.1 BIT ROTATION LEFT Instruction (ROTL)

[Outline]

The ROTL instruction is used to rotate bits to the left 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 : ROTL
Full Name : Bit Rotate Left
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