Rev.6.00 Oct.28.2004 page 27
of 1016
REJ09B0138-0600H
2.4
Register Configuration
2.4.1
Overview
The CPU has the internal registers shown in figure 2-4. There are two types of registers: general registers and control
registers.
T — — — — I2 I1 I0
EXR
7 6 5 4 3 2 1 0
PC
23
0
15
07
07
0
E0
E1
E2
E3
E4
E5
E6
E7
R0H
R1H
R2H
R3H
R4H
R5H
R6H
R7H
R0L
R1L
R2L
R3L
R4L
R5L
R6L
R7L
General Registers (Rn) and Extended Registers (En)
Control Registers (CR)
Legend:
Stack pointer
Program counter
Extended control register
Trace bit
Interrupt mask bits
Condition-code register
Interrupt mask bit
User bit or interrupt mask bit
*
SP:
PC:
EXR:
T:
I2 to I0:
CCR:
I:
UI:
Note:
*
In the H8S/2357 Group, this bit cannot be used as an interrupt mask.
ER0
ER1
ER2
ER3
ER4
ER5
ER6
ER7 (SP)
I UI H U N Z V C
CCR
7 6 5 4 3 2 1 0
Half-carry flag
User bit
Negative flag
Zero flag
Overflow flag
Carry flag
H:
U:
N:
Z:
V:
C:
Figure 2-4 CPU Registers
2.4.2
General Registers
The CPU has eight 32-bit general registers. These general registers are all functionally alike and can be used as both
address registers and data registers. When a general register is used as a data register, it can be accessed as a 32-bit, 16-bit,
or 8-bit register. When the general registers are used as 32-bit registers or address registers, they are designated by the
letters ER (ER0 to ER7).
The ER registers divide into 16-bit general registers designated by the letters E (E0 to E7) and R (R0 to R7). These
registers are functionally equivalent, providing a maximum sixteen 16-bit registers. The E registers (E0 to E7) are also
referred to as extended registers.
Содержание ZTAT H8S/2357F
Страница 4: ......
Страница 28: ...Rev 6 00 Oct 28 2004 page xxiv of xxiv REJ09B0138 0600H...
Страница 82: ...Rev 6 00 Oct 28 2004 page 54 of 1016 REJ09B0138 0600H...
Страница 108: ...Rev 6 00 Oct 28 2004 page 80 of 1016 REJ09B0138 0600H...
Страница 364: ...Rev 6 00 Oct 28 2004 page 336 of 1016 REJ09B0138 0600H...
Страница 438: ...Rev 6 00 Oct 28 2004 page 410 of 1016 REJ09B0138 0600H...
Страница 566: ...Rev 6 00 Oct 28 2004 page 538 of 1016 REJ09B0138 0600H...
Страница 588: ...Rev 6 00 Oct 28 2004 page 560 of 1016 REJ09B0138 0600H...
Страница 688: ...Rev 6 00 Oct 28 2004 page 660 of 1016 REJ09B0138 0600H...
Страница 694: ...Rev 6 00 Oct 28 2004 page 666 of 1016 REJ09B0138 0600H...
Страница 708: ...Rev 6 00 Oct 28 2004 page 680 of 1016 REJ09B0138 0600H...
Страница 1044: ...Rev 6 00 Oct 28 2004 page 1016 of 1016 REJ09B0138 0600H...
Страница 1047: ...H8S 2357 Group H8S 2357F ZTATTM H8S 2398F ZTATTM Hardware Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...