659
RBMOV, RBMOVP
1
2
3
4
4
6
7
8
7.18 Other instructions
7.18.19 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.
Operation Error
(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
R10
R32767
R10009
ZR30000
ZR39999
S
D
D
S
n
001110111 110
Y3
Y33Y37 Y34Y3B Y38
+1+2
R100 1011
b0b1b2b3b4b15
R101 0011+1
R102
0111+2
n
S
D
S
S
D D
S
D
S
D