Datasheet

PIC18F6525/6621/8525/8621
DS39612C-page 40 2003-2013 Microchip Technology Inc.
FIGURE 4-1: INTERNAL PROGRAM
MEMORY MAP AND
STACK FOR PIC18FX525
FIGURE 4-2: INTERNAL PROGRAM
MEMORY MAP AND
STACK FOR PIC18FX621
TABLE 4-1: MEMORY ACCESS FOR PIC18F8525/8621 PROGRAM MEMORY MODES
PC<20:0>
Stack Level 1
Stack Level 31
Reset Vector
Low Priority Interrupt Vector
CALL,RCALL,RETURN
RETFIE,RETLW
21
000000h
000018h
On-Chip Flash
Program Memory
High Priority Interrupt Vector
000008h
User Memory Space
1FFFFFh
00C000h
00BFFFh
Read ‘0
200000h
PC<20:0>
Stack Level 1
Stack Level 31
Reset Vector
Low Priority Interrupt Vector
CALL,RCALL,RETURN
RETFIE,RETLW
21
000000h
000018h
010000h
00FFFFh
On-Chip Flash
Program Memory
High Priority Interrupt Vector
000008h
User Memory Space
Read ‘0
1FFFFFh
200000h
Operating Mode
Internal Program Memory External Program Memory
Execution
From
Table Read
From
Table Write To
Execution
From
Table Read
From
Table Write To
Microprocessor No Access No Access No Access Yes Yes Yes
Microprocessor
w/Boot Block
Yes Yes Yes Yes Yes Yes
Microcontroller Yes Yes Yes No Access No Access No Access
Extended
Microcontroller
Yes Yes Yes Yes Yes Yes