PIC16F87/88
TABLE 15-3: RESET CONDITION FOR SPECIAL REGISTERS
Program
STATUS
Register
PCON
Register
Condition
Counter
Power-on Reset
000h
000h
0001 1xxx
000u uuuu
0001 0uuu
0000 1uuu
uuu0 0uuu
0001 1uuu
uuu1 0uuu
---- --0x
---- --uu
---- --uu
---- --uu
---- --uu
---- --u0
---- --uu
MCLR Reset during normal operation
MCLR Reset during SLEEP
WDT Reset
000h
000h
WDT Wake-up
PC + 1
000h
PC + 1(1)
Brown-out Reset
Interrupt Wake-up from SLEEP
Legend: u= unchanged, x= unknown, - = unimplemented bit, read as ‘0’
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 15-4: INITIALIZATION CONDITIONS FOR ALL REGISTERS
Power-on Reset,
Brown-out Reset
MCLR Reset,
WDT Reset
Wake-up via WDT or
Interrupt
Register
W
xxxx xxxx
N/A
uuuu uuuu
N/A
uuuu uuuu
N/A
INDF
TMR0
PCL
xxxx xxxx
0000h
uuuu uuuu
uuuu uuuu
PC + 1(2)
uuuq quuu(3)
uuuu uuuu
0000h
STATUS
FSR
0001 1xxx
xxxx xxxx
000q quuu(3)
uuuu uuuu
PORTA (PIC16F87)
PORTA (PIC16F88)
xxxx 0000
xxx0 0000
uuuu 0000
uuu0 0000
uuuu uuuu
uuuu uuuu
PORTB (PIC16F87)
PORTB (PIC16F87)
xxxx xxxx
00xx xxxx
uuuu uuuu
00uu uuuu
uuuu uuuu
uuuu uuuu
PCLATH
INTCON
PIR1
---0 0000
0000 000x
-000 0000
00-0 ----
xxxx xxxx
xxxx xxxx
-000 0000
0000 0000
-000 0000
xxxx xxxx
0000 0000
xxxx xxxx
xxxx xxxx
--00 0000
0000 000x
---0 0000
0000 000u
-000 0000
00-0 ----
uuuu uuuu
uuuu uuuu
-uuu uuuu
0000 0000
-000 0000
uuuu uuuu
0000 0000
uuuu uuuu
uuuu uuuu
--00 0000
0000 000x
---u uuuu
uuuu uuuu(1)
-uuu uuuu(1)
uu-u ----(1)
uuuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
uuuu uuuu
PIR2
TMR1L
TMR1H
T1CON
TMR2
T2CON
SSPBUF
SSPCON
CCPR1L
CCPR1H
CCP1CON
RCSTA
Legend: u= unchanged, x= unknown, - = unimplemented bit, read as ‘0’, q= value depends on condition,
r= reserved, maintain clear
Note 1: One or more bits in INTCON, PIR1 and PR2 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: See Table 15-3 for RESET value for specific condition.
2003 Microchip Technology Inc.
Preliminary
DS30487B-page 135