42
Instruction Functions
Section 2-2
DOUBLE DATA
EXCHANGE
XCGL
@XCGL
562
Output
Required
SINGLE WORD
DISTRIBUTE
DIST
@DIST
080
Output
Required
DATA COLLECT
COLL
@COLL
081
Output
Required
MOVE TO REG-
ISTER
MOVR
@MOVR
560
Output
Required
MOVE TIMER/
COUNTER PV TO
REGISTER
MOVRW
@MOVRW
561
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
E1: 1st exchange
word
E2: Second
exchange word
XCGL(562)
E1
E2
Exchanges the contents of a pair of consecutive words with another
pair of consecutive words.
E2
E1
E1+1
E2+1
S: Source word
Bs: Destination
base address
Of: Offset
DIST(080)
S
Bs
Of
S
B s
Bs+n
Of
Transfers the source word to a destination word calculated by adding
an offset value to the base address.
Bs: Source base
address
Of: Offset
D: Destination
word
COLL(081)
Bs
Of
D
Bs
Bs+n
Of
Transfers the source word (calculated by adding an offset value to the
base address) to the destination word.
S: Source
(desired word or
bit)
D: Destination
(Index Register)
MOVR(560)
S
D
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: Source
(desired TC
number)
D: Destination
(Index Register)
MOVRW(561)
S
D
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
Timer/counter PV only
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...