588
Chapter 17
RESET
Preliminary User’s Manual U15839EE1V0UM00
17.7 Initialization
Initialize the contents of each register as needed within a program.
Table 17-2 shows the initial values of the CPU, internal RAM, and on-chip peripheral I/O’s after reset.
Table 17-2:
Initial Values of CPU and Internal RAM After Reset
Caution:
In the table above, “Undefined” means either undefined at the time of a power-on
reset or undefined due to data destruction when RESET
↓
input and data write timing
are synchronized. On a RESET
↓
other than this, data is maintained in its previous
status.
On-Chip Hardware
Register Name
Initial Value
After Reset
CPU
Program registers
General-purpose register (r0)
00000000H
General-purpose registers (r1 to r31)
Undefined
Program counter (PC)
00000000H
System registers
Status save registers during interrupt (EIPC, EIPSW)
Undefined
Status save registers during NMI (FEPC, FEPSW)
Undefined
Interrupt cause register (ECR)
00000000H
Program status word (PSW)
00000020H
Status save registers during CALLT execution (CTPC, CTPSW)
Undefined
Status save registers during exception/debug trap (DBPC, DBPSW) Undefined
CALLT base pointer (CTBP)
Undefined
Internal RAM
-
Undefined
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......