When a file register is specified in an instruction, a range check is performed, so a program needs to be created so that the
operation result falls within the range of the relevant file register.
If a range exceeding that of the file register (ZR) is specified, an error (error code: 2820) occurs.
If a range exceeding that of the file register of the block number used by the file register (R) is specified, an error (error code:
2820) occurs.
Ex.
When a file register (ZR) is specified
BMOV
D0
BMOV
D0
(1) The transfer destination is in the range of file register MAIN1. Data is written to ZR0 and ZR1.
(2) The transfer destination is out of the range of file register MAIN1. An error occurs because the area range of file register MAIN1 is exceeded.
Ex.
When a file register (R) is specified
BMOV
D0
BMOV
D0
(1) The transfer destination is in the range of the R device of block number 0. Data is written to R0 and R1.
(2) The transfer destination is out of the range of the R device of block number 0. An error occurs because the area range of the R device of block number 0.