Mitsubishi Electronics C64 Home Safety Product User Manual


 
5. Explanation of Devices
5.3 Detailed Explanation of Devices
- 76 -
5.3.10 Special Register SD
(1) Special register SD is a data register that the applications are fixed as 1-second counter, etc. Do
not use even a part not used currently in SD0 to SD127 for other purpose such as temporary
memory.
Special register SD
(a) The register is cleared when the power is turned OFF.
(b) There is no limit to the No. that can be used in the program.
(c) The special register No. is expressed with a hexadecimal.
5.3.11 Index Register Z
(1) Z index register is available.
(2) The index register is used as ornaments for the device.
D5Z Indicates D (5+Z) = D8
159
MOV
K3 Z0
165
MOV
K4X0
D5Z0
(3) The index register has a 1-point 16-bit configuration, and can be read and written in 16-bit units.
(4) The data stored in the index register is cleared when the power is turned OFF.
(5) Values that can be stored: Decimal -32768 to 32767
Hexadecimal 0 to FFFF
(Note1) The display of the index registers Z0 is as shown below.
MOV
K3
Z0
MOV X0 D5
K4
Z0
(Note2) Don't use index resistor Z0, Z1 in high-speed program processing because the system
use these resistor in some function commands. If the resistor is used, operation of main
processing function commands may be unfixed.