2 Instructions
2-122 CP1E CPU Unit Instructions Reference Manual(W483)
Hint
Sample program
To exchange 3 or more words, use
XFER(070) to transfer the words to a third set
of words (a buffer) as shown in this diagram.
When CIO 0.00 is ON in this example, the con-
tent of D100 is exchanged with the content of
D200.
E1
E2
Buffer
1st XFER(070)
operation
2nd XFER(070)
operation
3rd XFER(070)
operation
XCHG
D100
D200
0.00
D100 D200
D100 D200
1234
ABCD 1234
ABCD