CHAPTER 3 CPU AND CONTROL UNITS
3.5
General-Purpose Registers
Registers R0 to R15 are general-purpose registers. These registers are used as an
accumulator in an operation or a pointer in a memory access.
■ General-purpose Registers
Figure 3.5-1 shows the configuration of the general-purpose registers.
Of these 16 registers, the following are intended for special applications and therefore enhanced
instructions are provided for them:
•
R13: Virtual accumulator (AC)
•
R14: Frame pointer (FP)
•
R15: Stack pointer (SP)
The initial value upon reset is undefined for R0 through R14 and is 00000000
R15.
70
Figure 3.5-1 Configuration of General-purpose Registers
32 bits
R0
R1
...
...
...
...
R12
R13
AC
R14
FP
R15
SP
[Initial value]
XXXX XXXX
H
...
...
...
...
...
XXXX XXXX
H
0000 0000
H
H
(SSP value) for