Data Shift Instructions - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

2. Summary of Instructions
2-2-7

Data Shift Instructions

Instruction
Symbol/Operand
Mnemonic
Code
SHIFT REGISTER
Data
input
SFT(010)
SFT
Shift
010
input
Reset
input
St: Starting word
E: End word
REVERSIBLE
SHIFT REGISTER
SFTR(084)
SFTR
@SFTR
084
C: Control word
St: Starting word
E: End word
ASYNCHRO-
NOUS SHIFT
ASFT(017)
REGISTER
ASFT
@ASFT
017
C: Control word
St: Starting word
E: End word
WORD SHIFT
WSFT(016)
WSFT
@WSFT
016
S: Source word
St: Starting word
E: End word
ARITHMETIC
SHIFT LEFT
ASL(025)
ASL
@ASL
025
Wd: Word
DOUBLE SHIFT
ASLL(570)
LEFT
ASLL
@ASLL
570
Wd: Word
52
Operates a shift register.
E
St
E
Lost
Creates a shift register that shifts data to either the right or the left.
C
St
E
E
E
Data
input
Shifts all non-zero word data within the specified word range either
towards St or toward E, replacing 0000Hex word data.
C
St
E
St
E
St
E
Shifts data between St and E in word units.
E
S
Lost
St
E
Shifts the contents of Wd one bit to the left.
Wd
Shifts the contents of Wd and Wd +1 one bit to the left.
Wd+1
Wd
Function
St+1, St+2
St
Status of data
input for each shift
input
St
Data input
St
Shift direction
Shift enabled
Shift
Clear
Shift
Zero data
Non-zero data
St
Wd
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
305
Required
Output
307
Required
Shift
direc-
tion
Output
309
Required
Output
311
Required
Output
313
Required
Output
313
Required

Advertisement

Table of Contents
loading

Table of Contents