Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual page 136

Programmable controllers
Table of Contents

Advertisement

Data Shift Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE SHIFT
ASLL(570)
LEFT
ASLL
@ASLL
570
Wd: Word
ARITHMETIC
ASR(026)
SHIFT RIGHT
ASR
@ASR
026
Wd: Word
DOUBLE SHIFT
ASRL(571)
RIGHT
ASRL
@ASRL
571
Wd: Word
ROTATE LEFT
ROL(027)
ROL
@ROL
027
Wd: Word
DOUBLE
ROTATE LEFT
ROLL(572)
ROLL
@ROLL
572
Wd: Word
ROTATE LEFT
RLNC(574)
WITHOUT
CARRY
RLNC
@RLNC
Wd: Word
574
DOUBLE
RLNL(576)
ROTATE LEFT
WITHOUT
CARRY
RLNL
Wd: Word
@RLNL
576
ROTATE RIGHT
ROR(028)
ROR
@ROR
028
Wd: Word
DOUBLE
RORL(573)
ROTATE RIGHT
RORL
@RORL
573
Wd: Word
96
Shifts the contents of Wd and Wd +1 one bit to the left.
Wd+1
Wd
Shifts the contents of Wd one bit to the right.
Wd
Shifts the contents of Wd and Wd +1 one bit to the right.
Wd+1
Wd
Shifts all Wd bits one bit to the left including the Carry Flag (CY).
Wd
Shifts all Wd and Wd +1 bits one bit to the left including the Carry Flag
(CY).
Wd
Shifts all Wd bits one bit to the left not including the Carry Flag (CY).
Wd
Shifts all Wd and Wd +1 bits one bit to the left not including the Carry
Flag (CY).
Wd
Wd+1
Shifts all Wd bits one bit to the right including the Carry Flag (CY).
Wd+1
Wd
Shifts all Wd and Wd +1 bits one bit to the right including the Carry
Flag (CY).
Wd
Wd+1
Function
Wd
Wd
Wd+1
Wd
Wd
Wd
Wd
Wd
Section 3-7
Location
Execution condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents