English
Language : 

PIC16F631 Datasheet, PDF (27/294 Pages) Microchip Technology – 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F631/677/685/687/689/690
2.0 MEMORY ORGANIZATION
2.1 Program Memory Organization
The PIC16F631/677/685/687/689/690 has a 13-bit
program counter capable of addressing an 8K x 14
program memory space. Only the first 1K x 14
(0000h-03FFh) is physically implemented for the
PIC16F631, the first 2K x 14 (0000h-07FFh) for the
PIC16F677/PIC16F687, and the first 4K x 14
(0000h-0FFFh) for the PIC16F685/PIC16F689/
PIC16F690. Accessing a location above these
boundaries will cause a wraparound. The Reset vector
is at 0000h and the interrupt vector is at 0004h (see
Figures 2-1 through 2-3).
FIGURE 2-1:
PROGRAM MEMORY MAP
AND STACK FOR THE
PIC16F631
PC<12:0>
CALL, RETURN
13
RETFIE, RETLW
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
Interrupt Vector
On-chip Program
Memory
Access 0-3FFh
0000h
0004h
0005h
03FFh
0400h
1FFFh
FIGURE 2-2:
PROGRAM MEMORY MAP
AND STACK FOR THE
PIC16F685/689/690
PC<12:0>
CALL, RETURN
13
RETFIE, RETLW
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
Interrupt Vector
On-chip Program
Memory
Access 0-FFFh
0000h
0004h
0005h
0FFFh
1000h
1FFFh
© 2007 Microchip Technology Inc.
DS41262D-page 25