996
7 APPLICATION INSTRUCTIONS
7.23 File Register Read/Write Instructions
• Without recognizing block numbers, these instructions read the data from the file register with the serial byte number
specified by (s), and store the data in the lower 8 bits of the device specified by (d). 00H is stored in the upper 8 bits of the
device specified by (d).
• The following figure shows the file register numbers corresponding to serial byte numbers.
When 23560 is specified in (s), the data in the lower 8 bits of ZR11780 is read.
When 43257 is specified in (s), the data in the upper 8 bits of ZR21628 is read.
(1) Data areas when an odd number is specified
(2) Data areas when an even number is specified
(1) Specifying the read-target area
(1) Specifying the read-target area
Error code
(SD0)
Description
2820H The specified device number (serial byte number) is out of range.
(d)
b15 b8 b7 b0
00H
(s)
ZR0
ZR32767
ZR32768
ZR65535
ZR65536
Data read from the file register
Serial byte number
Specifying the
read-target area
Reading data from
the file register
File register
Areas for the block
No.0
Areas for the block
No.1
Areas for the block
No.2
b15 b8 b7 b0
ZR0
ZR2500
ZR2502
ZR2501
ZR2503
ZR1
ZR2
No.0No.1
No.2No.3
No.4No.5
No.5000No.5001
No.5002No.5003
No.5004No.5005
No.5006No.5007
(2)
(1)
(d)
b15 b8 b7 b0b15 b8 b7 b0
ZR11780
43H
21H 00H 21H
(s) 23560
(1)
(d)
b15 b8 b7 b0b15 b8 b7 b0
ZR21628
93H
42H 00H 93H
(s) 43257
(1)