![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268384.webp)
345
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
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...