Omron SYSMAC CS Series Programming Manual page 105

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Data Shift Instructions
Instruction
Symbol/Operand
Mnemonic
Code
ROTATE LEFT
ROL(027)
ROL
@ROL
027
Wd: Word
DOUBLE
ROLL(572)
ROTATE LEFT
ROLL
@ROLL
572
Wd: Word
ROTATE LEFT
WITHOUT
RLNC(574)
CARRY
RLNC
@RLNC
Wd: Word
574
DOUBLE
ROTATE LEFT
RLNL(576)
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
ROTATE RIGHT
RRNC(575)
WITHOUT
CARRY
RRNC
@RRNC
Wd: Word
575
DOUBLE
RRNL(577)
ROTATE RIGHT
WITHOUT
CARRY
RRNL
Wd: Word
@RRNL
577
ONE DIGIT SHIFT
SLD(074)
LEFT
SLD
@SLD
074
St: Starting word
E: End word
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
Shifts all Wd bits one bit to the right including the Carry Flag (CY).
Wd
Shifts all Wd and Wd +1 bits one bit to the right including the Carry
Flag (CY).
Wd
Shifts all Wd bits one bit to the right not including the Carry Flag (CY).
The contents of the rightmost bit of Wd shifts to the leftmost bit and to
the Carry Flag (CY).
Wd
Wd
Shifts all Wd and Wd +1 bits one bit to the right not including the Carry
Flag (CY). The contents of the rightmost bit of Wd +1 is shifted to the
leftmost bit of Wd, and to the Carry Flag (CY).
Wd
Shifts data by one digit (4 bits) to the left.
St
Lost
E
Function
Wd+1
Wd
Wd+1
Wd+1
Wd+1
Wd+1
E
Wd
Wd
Wd
Wd
Wd
St
Section 3-7
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents