PIC16F913/914/916/917/946
FIGURE 2-2:
PROGRAM MEMORY MAP
AND STACK FOR THE
PIC16F916/917/PIC16F946
2.0
2.1
MEMORY ORGANIZATION
Program Memory Organization
The PIC16F91X/946 has a 13-bit program counter
capable of addressing a 4K x 14 program memory
space for the PIC16F913/914 (0000h-0FFFh) and an
8K x 14 program memory space for the PIC16F916/
917 and PIC16F946 (0000h-1FFFh). Accessing a
location above the memory boundaries for the
PIC16F913 and PIC16F914 will cause a wrap around
within the first 4K x 14 space. The Reset vector is at
0000h and the interrupt vector is at 0004h.
pc<12:0>
CALL, RETURN
RETFIE, RETLW
13
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
FIGURE 2-1:
PROGRAM MEMORY MAP
AND STACK FOR THE
PIC16F913/914
0000h
Interrupt Vector
Page 0
0004h
0005h
pc<12:0>
CALL, RETURN
RETFIE, RETLW
07FFh
0800h
13
Page 1
On-chip
Program
Memory
Stack Level 1
Stack Level 2
0FFFh
1000h
Page 2
Page 3
17FFh
1800h
Stack Level 8
Reset Vector
0000h
1FFFh
Interrupt Vector
Page 0
0004h
0005h
On-chip
Program
Memory
07FFh
0800h
Page 1
0FFFh
1000h
1FFFh
© 2007 Microchip Technology Inc.
DS41250F-page 23