304
6 BASIC INSTRUCTIONS
6.6 Data Transfer Instructions
• These instructions block transfer the 16-bit binary data of (n) number of devices starting from the one specified by (s) to the
device specified by (d).
• If the device number range is exceeded, data is transferred within the possible range.
• Data can be transferred even when the device range of the transfer-source device and transfer-destination device is
overlapping. To transfer data to a device having a smaller device number, transfer from (s), and to transfer data to a device
having a larger device number, transfer from (s)+(n)-1.
When transferring data to a device having a smaller device number
When transferring data to a device having a larger device number
• To perform nibble specification of bit device for both (s) and (d), be sure to set the same number of nibbles for (s) and (d).
• To use a module access device for (s) and (d), specify either (s) or (d).
Error code
(SD0/SD8067)
Description
3405 The number of nibbles of the nibble specification of bit device of (s) and (d) is different.
3420 A module access device is specified for both (s) and (d).
···
···
(n)
1234H
5678H
7FF0H
6FFFH
1234H
5678H
7FF0H
6FFFH
553FH 553FH
(n)
b15 b0
(s)
(s)+1
(s)+(n-2)
(s)+(n-1)
(s)+2
(d)
(d)+1
(d)+2
(d)+(n-2)
(d)+(n-1)
··· b15 b0···
Block move
1)
2)
3)
D9
D10
D11
D10
D11
D12
X1
BMOV
D10 D9 K3
3)
2)
1)
D11
D12
D13
D10
D11
D12
X2
BMOV
D10 D11 K3