335
CHAPTER 20 RESET FUNCTION
User
’
s Manual U14701EJ3V0UD
Table 20-1. Hardware Statuses After Reset (1/2)
Hardware
Status After Reset
Program counter (PC)
Note 1
Contents of reset vector table
(0000H, 0001H) are set.
Stack pointer (SP)
Undefined
Program status word (PSW)
02H
RAM
Data memory
Undefined
Note 2
General-purpose register
Undefined
Note 2
Port (output latch)
00H
Port mode registers 0, 2 to 7, 8
Note 5
, 9
Note 5
, 12 (PM0, PM2 to PM7, PM8
Note 5
, PM9
Note 5
, PM12)
FFH
Pull-up resistor option registers 0, 2 to 7, 12 (PU0, PU2 to PU7, PU12)
00H
Processor clock control register (PCC)
04H
Memory size switching register (IMS)
CFH
Note 3
Internal expansion RAM size switching register (IXS)
0CH
Note 4
Memory expansion mode register (MEM)
00H
Key return switching register (KRSEL)
00H
Pin function switching registers 8, 9 (PF8, PF9)
Note 5
00H
Oscillation stabilization time select register (OSTS)
04H
16-bit timer/event counter 0
Timer counter 0 (TM0)
0000H
Capture/compare registers 00, 01 (CR00, CR01)
Undefined
Prescaler mode register 0 (PRM0)
00H
Mode control register 0 (TMC0)
00H
Capture/compare control register 0 (CRC0)
00H
Output control register 0 (TOC0)
00H
16-bit timer/event counter 4
Timer counter 4 (TM4)
Undefined
Compare register 4 (CR4)
Undefined
Mode control register 4 (TMC4)
00H
8-bit timer/event counters 50 to 52
Timer counters 50 to 52 (TM50 to TM52)
00H
Compare registers 50 to 52 (CR50 to CR52)
Undefined
Clock select registers 50 to 52 (TCL50 to TCL52)
00H
Mode control registers 50 to 52 (TMC50 to TMC52)
00H
Notes 1.
During reset input or oscillation stabilization time wait, only the PC contents among the hardware
statuses become undefined. All other hardware statuses remain unchanged after reset.
2.
When a reset is executed in the standby mode, the pre-reset status is held even after reset.
3.
Although the initial value is CFH, use the following value to be set for each version.
μ
PD780316, 780326, 780336: CCH
μ
PD780318, 780328, 780338: CFH
μ
PD78F0338:
Value for mask ROM versions
4.
Although the initial value is 0CH, use this register with a setting of 09H.
5.
μ
PD78F0338 only.