EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - Page 368

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

Table of Contents

Related product manuals