344
Data Movement Instructions Section 3-8
It is possible for the source words and destination words to overlap. By trans-
ferring data overlapping several words, the data can be packed more effi-
ciently in the data area. (This is particularly useful when handling position
data for position control.)
Since the source words and destination words can overlap, XFRB(062) can
be combined with ANDW(034) to shift m bits by n spaces.
Flags
Precautions Up to 255 bits of data can be transferred per execution of XFRB(062).
Be sure that the source words and destination words do not exceed the end of
the data area.
Examples When CIO 000000 is ON in the following example, the 20 bits beginning with
CIO 020006 are copied to the 20 bits beginning with CIO 030000.
3-8-8 BLOCK TRANSFER: XFER(070)
Purpose Transfers the specified number of consecutive words.
Ladder Symbol
Name Label Operation
Error Flag ER OFF
20 bits
XFER(070)
N
S
D
N: Number of words
S: First source word
D: First destination word