Omron CP1E CPU UNIT SOFTWARE User Manual page 368

Cp1e cpu unit software
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
BLOCK
XFER
TRANSFER
BLOCK SET
BSET
DATA
XCHG
EXCHANGE
SINGLE
DIST
WORD DIS-
TRIBUTE
DATA COL-
COLL
LECT
A-14
Variations
Symbol/Operand
@
XFER(070)
N
S
D
N: Number of words
S: 1st source word
D: 1st destination word
@
BSET(071)
S
St
E
S: Source word
St: Starting word
E: End word
@
XCHG(073)
E1
E2
E1: 1st exchange word
E2: Second exchange word
@
DIST(080)
S
Bs
Of
S: Source word
Bs: Destination base address
Of: Offset
@
COLL(081)
Bs
Of
D
Bs: Source base address
Of: Offset
D: Destination word
Function
Transfers the specified number of consecutive words.
N words
to
S+(N 1)
D+(N 1)
N: Number of Words
The possible range for N is 0000 to FFFF (0 to 65,535 decimal).
15
S
to
S+(N-1)
15
D
to
D+(N-1)
Copies the same word to a range of consecutive words.
Source word
Destination words
St
E
Exchanges the contents of the two specified words.
E1
Transfers the source word to a destination word calculated by add-
ing an offset value to the base address.
S
B
s
Bs+n
Transfers the source word (calculated by adding an offset value to
the base address) to the destination word.
Bs
Of
Bs+n
CP1E CPU Unit Software User's Manual(W480)
to
0
0
E2
Of

Advertisement

Table of Contents
loading

Table of Contents