R01UH0092EJ0110 Rev.1.10
Page 14 of 807
Jul 31, 2012
M16C/64C Group
2. Central Processing Unit (CPU)
2.
Central Processing Unit (CPU)
Figure 2.1 shows the CPU registers. Seven registers (R0, R1, R2, R3, A0, A1, and FB) out of 13 compose a
register bank, and there are two register banks.
Figure 2.1
CPU Registers
R0H (upper bits of R0)
b15
b8 b7
b0
R3
INTBH
USP
ISP
SB
Note:
1. These registers compose a register bank. There are two register banks.
C
D
Z
S
B
O
I
U
IPL
R2
b31
R3
R2
A1
A0
FB
b19
INTBL
b15
b0
PC
INTBH is the 4 upper bits of the INTB register and INTBL
is the 16 lower bits.
b19
b0
b15
b0
FLG
b15
b0
b15
b0
b7
b8
Data registers
(1)
Address registers
(1)
Frame base registers
(1)
Program counter
Interrupt table register
User stack pointer
Interrupt stack pointer
Static base register
Flag register
Reserved area
Carry flag
Debug flag
Zero flag
Sign flag
Register bank select flag
Overflow flag
Interrupt enable flag
Stack pointer select flag
Reserved area
Processor interrupt priority level
R1H (upper bits of R1)
R0L (lower bits of R0)
R1L (lower bits of R1)
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...