![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489112.webp)
91
Data Shift Instructions
Section 3-7
ROTATE RIGHT
WITHOUT
CARRY
RRNC
@RRNC
575
Output
Required
DOUBLE
ROTATE RIGHT
WITHOUT
CARRY
RRNL
@RRNL
577
Output
Required
ONE DIGIT SHIFT
LEFT
SLD
@SLD
074
Output
Required
ONE DIGIT SHIFT
RIGHT
SRD
@SRD
075
Output
Required
SHIFT N-BIT
DATA LEFT
NSFL
@NSFL
578
Output
Required
SHIFT N-BIT
DATA RIGHT
NSFR
@NSFR
579
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Wd: Word
RRNC(575)
Wd
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: Word
RRNL(577)
Wd
Wd+1
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).
St: Starting word
E: End word
SLD(074)
St
E
Lost
E
St
Shifts data by one digit (4 bits) to the left.
St: Starting word
E: End word
SRD(075)
St
E
Lost
E
St
Shifts data by one digit (4 bits) to the right.
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
NSFL(578)
D
C
N
N–1 bit
Shifts one bit to the left
N–1 bit
Shifts the specified number of bits to the left.
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
NSFR(579)
D
C
N
N–1 bit
Shifts one bit to the right
N–1 bit
Shifts the specified number of bits to the right.
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...