CHAPTER 4. INTERNAL CPU FUNCTIONS
35
4.4 GENERAL REGISTER ..... 4 × 4 BITS
The general register is assigned to a specific address of the data memory. There are four 4-bit registers (H, L,
X, A).
While each general register is operated per 4 bits, HL and XA make up register pairs, each of which is operated
per 8 bits. The HL register pair is available as the data pointer to indirectly address the memory.
The general register area can be addressed and accessed as an ordinary RAM regardless of whether it is used
as a register or not.
Fig. 4-4 General Register Configuration
XA
HL
0 1 H 0 0 H
0 3 H 0 2 H
Remarks The figure in the lower right corner is the assigned data memory address.
Fig. 4-5 Register Pair Configuration
HL
XA
3030
30
30