2 bit rotate right (rotr), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 183

Advertising
background image

5.7 Data Shift Instructions

5.7.2 Bit Rotate Right (ROTR)

5-114

5.7.2 Bit Rotate Right (ROTR)

( 1 ) Operation

The ROTR instruction rotates the data specified by the first bit address and bit width to the right by the specified num-
ber of bits.

( 2 ) Format

∗ C and # registers cannot be used.

Bit width (m)

First bit
address

m − 1 m − 2 m − 3

4

3

2

1

0

Number of bits to rotate

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

First bit address (Adr)

{

*

×

×

×

×

×

×

Number of bits to rotate
(Num)

×

{

×

×

×

{

{

Bit width (Width)

×

{

×

×

×

{

{

Number of bits

to rotate

Bit width

First bit address

Icon:

Key entry: ROTR

Advertising
This manual is related to the following products: