PIC16C64X & PIC16C66X
4.0
4.1
MEMORY ORGANIZATION
Program Memory Organization
FIGURE 4-2:
PIC16C642/662 PROGRAM
MEMORY MAP AND STACK
The PIC16C64X & PIC16C66X have a 13-bit program
counter capable of addressing an 8K x 14 program
memory space. For the PIC16C641 and PIC16C661
only the 铿乺st 2K x 14 (0000h - 07FFh) is physically
implemented. For the PIC16C642 and PIC16C662 only
the 铿乺st 4K x 14 (0000h - 0FFh) is physically imple-
mented. Accessing a location above the 2K or 4K
boundary will cause a wrap-around. The reset vector is
at 0000h and the interrupt vector is at 0004h (Figure 4-
1 and Figure 4-2). See Section 4.4 for Program Mem-
ory paging.
PC<12:0>
CALL, RETURN
RETFIE, RETLW
13
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
FIGURE 4-1:
PIC16C641/661 PROGRAM
MEMORY MAP AND STACK
PC<12:0>
13
User Memory Space
0000h
CALL, RETURN
RETFIE, RETLW
Interrupt Vector
On-chip Program
Memory
Page0
Stack Level 1
Stack Level 2
0004h
0005h
Stack Level 8
Reset Vector
User Memory Space
On-chip Program
Memory
0000h
Page1
07FFh
0800h
0FFFh
1000h
Interrupt Vector
0004h
0005h
1FFFh
TEST
Con铿乬uration Word
2000h
2007h
3FFFh
On-chip Program
Memory
07FFh
0800h
TEST
1FFFh
TEST
Con铿乬uration Word
TEST
2000h
2007h
3FFFh
漏
1996 Microchip Technology Inc.
Preliminary
This document was created with FrameMaker 4 0 4
DS30559A-page 17