659
RBMOV, RBMOVP
1
2
3
4
4
6
7
8
7.18
Ot
her inst
ructions
7.18.1
9
RBMOV
, RBMOVP
(2) The transfer is available even if there is an overlap between the source and destination devices.
For the transmission to the smaller number of device, the data is transferred from . For the transmission to the larger
number of device, the data is transferred from +(n-1).
However, as shown in the example below, when transferring data from R to ZR, or from ZR to R, the range to be
transferred (source) and the range of destination must not overlap.
• ZR transfer range ((specified head No. of ZR) to (specified head No. of ZR + the number of transfers -1))
• R transfer range ((specified head No. of R + file register block No. 32768) to (specified head No. of R + file register
block No. 32768 + the number of transfers -1))
Transfer ranges of ZR and R overlap when transferring 10000 points of data from ZR30000 (source) to
R10 (block No.1 of the destination).
• ZR transfer range (30000) to (30000+10000-1) (30000) to (39999)
• R transfer range (10+(1 32768)) to (10+(1 32768)+10000-1) (32778) to (42777)
Therefore, the range 32778 to 39999 overlaps.
(3) When is a word device and is a bit device, the number of bits designated by the bit device digit specification will be
transferred. If K1Y30 has been designated by , the lower four bits of the word device designated by will be
transferred.
Operat
i
on
E
rror
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4101
The range of n exceeds that of the corresponding device specified in
or .
The file register is not specified for either or .
––
––
S
S
Example
Source of transfer
Destination of transfer
Overlapped
Block No. 0
Block No. 1
ZR0
R0
R 1 0
R 3 2 7 6 7
R 1 0 0 0 9
Z R 3 0 0 0 0
Z R 3 9 9 9 9
S
D
D
S
n
0 0 1 1 1 0 1 1
1 1
1
0
Y
30
Y
33
Y
37
Y
3
4
Y
3B
Y
38
+
1
+
2
R100
1 0 1 1
b0
b1
b2
b3
b
4
b15
R101
0 0 1 1
+
1
R102
0 1 1 1
+
2
n
S
D
S
S
D
D
S
D
S
D