Omron CS1G/H-CPUxx-EV1 Programming Manual page 130

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Data Shift Instructions
Instruction
Symbol/Operand
Mnemonic
Code
ROTATE RIGHT
WITHOUT
RRNC(575)
CARRY
RRNC
@RRNC
Wd: Word
575
DOUBLE
ROTATE RIGHT
RRNL(577)
WITHOUT
CARRY
RRNL
Wd: Word
@RRNL
577
ONE DIGIT SHIFT
SLD(074)
LEFT
SLD
@SLD
074
St: Starting word
E: End word
ONE DIGIT SHIFT
RIGHT
SRD(075)
SRD
@SRD
075
St: Starting word
E: End word
SHIFT N-BIT
NSFL(578)
DATA LEFT
NSFL
@NSFL
578
D: Beginning word
for shift
C: Beginning bit
N: Shift data
length
SHIFT N-BIT
DATA RIGHT
NSFR(579)
NSFR
@NSFR
579
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
94
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
Wd
the Carry Flag (CY).
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
Wd+1
Shifts data by one digit (4 bits) to the left.
E
St
Lost
E
Shifts data by one digit (4 bits) to the right.
E
St
E
Shifts the specified number of bits to the left.
D
C
N
Shifts the specified number of bits to the right.
D
C
N
Function
Wd
S
t
S
Shifts one bit to the left
N−1 bit
N−1 bit
Shifts one bit to the right
N−1 bit
N−1 bit
Section 3-7
Location
Execution condition
Output
Required
Output
Required
Output
Required
Output
Required
t
Lost
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents