Appendices
A-20
CJ2 CPU Unit Software User’s Manual
DATA COL-
LECT
COLL
@COLL
081 Output Required
MOVE TO
REGISTER
MOVR
@MOVR
560 Output Required
MOVE TIMER/
COUNTER PV
TO REGISTER
MOVRW
@MOVRW
561 Output Required
A-1-7 Data Shift Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
SHIFT REGIS-
TER
SFT 010 Output Required
REVERSIBLE
SHIFT REGIS-
TER
SFTR
@SFTR
084 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
COLL(081)
Bs
Of
D
Bs: Source base
address
Of: Offset
D: Destination
word
Bs
Bs+n
Of
Transfers the source word (calculated by adding an offset
value to the base address) to the destination word.
MOVR(560)
S
D
S: Source
(desired word or
bit)
D: Destination
Sets the internal I/O memory address of the specified
word, bit, or timer/counter Completion Flag in the
specified Index Register. (Use MOVRW(561) to set the
internal I/O memory address of a timer/counter PV in
an Index Register.)
I/O memory address of S
Index Register
S
D
MOVRW(561)
S: Source
(desired TC
number)
D: Destination
(Index Register)
Timer/counter PV only
Sets the internal I/O memory address of the specified
timer or counter's PV in the specified Index Register.
(Use MOVR(560) to set the internal I/O memory address
of a word, bit, or timer/counter Completion Flag in an
Index Register.)
I/O memory address of S
Index Register
SFT(010)
St
E
Data
input
Shift
input
Reset
input
St: Starting word
E: End word
E
St+1, St+2
St
Status of data
input for each
shift input
Lost
Operates a shift register.
SFTR(084)
C
St
E
C: Control word
St: Starting word
E: End word
StE
St
E
Data input
Creates a shift register that shifts data to either the right
or the left.
Shift
direc-
tion
Data
input