3.2 Register Configuration
Figure 3-1 shows the register structure of the CPU. There are two groups of registers: the general
registers and control registers.
Figure 3-1. CPU Registers
3.2.1 General Registers
All the general registers can be used as both data registers and address registers. When used as
address registers, the general registers are accessed as 16-bit registers (R0 to R7). When used as
data registers, they can be accessed as 16-bit registers, or the high and low bytes can be accessed
separately as 8-bit registers (R0H to R7H and R0L to R7L).
R7 also functions as the stack pointer, used implicitly by hardware in processing interrupts and
subroutine calls. In assembly-language coding, R7 can also be denoted by the letters SP. As
indicated in figure 3-2, R7 (SP) points to the top of the stack.
0
7
R0H
R0L
R1H
R1L
R2H
R2L
R3L
R3H
R4L
R4H
R5H
R5L
R6H
R6L
R7H
R7L
(SP)
0
15
PC
0
2
3
5
C
V
Z
H
0
7
CCR
N
I
1
7
SP: Stack Pointer
PC: Program Counter
CCR: Condition Code Register
Carry flag
Overflow flag
Zero flag
Half-carry flag
Interrupt mask bit
User bit
Negative flag
U
U
User bit
6
4
24
Содержание H8/326 Series
Страница 67: ...58 ...
Страница 121: ...112 ...
Страница 274: ... 3 Clock Settling Timing Ø VCC RES STBY tOSC1 tOSC1 Figure 14 8 Clock Setting Timing 265 ...
Страница 279: ...270 ...