English
Language : 

PIC16F8X_13 Datasheet, PDF (43/128 Pages) Microchip Technology – 18-pin Flash/EEPROM 8-Bit Microcontrollers
PIC16F8X
TABLE 8-3 RESET CONDITION FOR PROGRAM COUNTER AND THE STATUS REGISTER
Condition
Program Counter STATUS Register
Power-on Reset
000h
0001 1xxx
MCLR Reset during normal operation
000h
000u uuuu
MCLR Reset during SLEEP
000h
0001 0uuu
WDT Reset (during normal operation)
000h
0000 1uuu
WDT Wake-up
PC + 1
uuu0 0uuu
Interrupt wake-up from SLEEP
PC + 1 (1)
uuu1 0uuu
Legend: u = unchanged, x = unknown.
Note 1: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector
(0004h).
TABLE 8-4 RESET CONDITIONS FOR ALL REGISTERS
Register
Address
Power-on Reset
MCLR Reset during:
– normal operation
– SLEEP
WDT Reset during nor-
mal operation
Wake-up from SLEEP:
– through interrupt
– through WDT Time-out
W
—
xxxx xxxx
uuuu uuuu
uuuu uuuu
INDF
00h
---- ----
---- ----
---- ----
TMR0
PCL
STATUS
01h
xxxx xxxx
02h
0000h
03h
0001 1xxx
uuuu uuuu
0000h
000q quuu(3)
uuuu uuuu
PC + 1(2)
uuuq quuu(3)
FSR
04h
xxxx xxxx
uuuu uuuu
uuuu uuuu
PORTA
05h
---x xxxx
---u uuuu
---u uuuu
PORTB
06h
xxxx xxxx
uuuu uuuu
uuuu uuuu
EEDATA
08h
xxxx xxxx
uuuu uuuu
uuuu uuuu
EEADR
09h
xxxx xxxx
uuuu uuuu
uuuu uuuu
PCLATH
INTCON
0Ah
---0 0000
0Bh
0000 000x
---0 0000
0000 000u
---u uuuu
uuuu uuuu(1)
INDF
80h
---- ----
---- ----
---- ----
OPTION_REG
81h
1111 1111
1111 1111
uuuu uuuu
PCL
STATUS
82h
0000h
83h
0001 1xxx
0000h
000q quuu(3)
PC + 1
uuuq quuu(3)
FSR
84h
xxxx xxxx
uuuu uuuu
uuuu uuuu
TRISA
85h
---1 1111
---1 1111
---u uuuu
TRISB
86h
1111 1111
1111 1111
uuuu uuuu
EECON1
88h
---0 x000
---0 q000
---0 uuuu
EECON2
89h
---- ----
---- ----
---- ----
PCLATH
INTCON
8Ah
---0 0000
8Bh
0000 000x
---0 0000
0000 000u
---u uuuu
uuuu uuuu(1)
Legend: u = unchanged, x = unknown, - = unimplemented bit read as '0',
q = value depends on condition.
Note 1: One or more bits in INTCON will be affected (to cause wake-up).
2: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector
(0004h).
3: Table 8-3 lists the reset value for each specific condition.
 1996-2013 Microchip Technology Inc.
DS30430D-page 43