PIC18FXX20
FIGURE 4-1:
INTERNAL PROGRAM MEMORY MAP AND STACK FOR PIC18FXX20 DEVICES
PC<20:0>
CALL,RCALL,RETURN
21
RETFIE,RETLW
Stack Level 1
•
•
•
Stack Level 31
000000h
000008h
000000h
000008h
000000h
000008h
RESET Vector
High Priority
Interrupt Vector
000018h
000018h
000018h
Low Priority
Interrupt Vector
On-Chip FLASH
Program Memory
On-Chip FLASH
Program Memory
007FFFh
008000h
On-Chip FLASH
Program Memory
00FFFFh
010000h
01FFFFh
020000h
Read '0'
Read '0'
Read '0'
1FFFFFh
200000h
1FFFFFh
200000h
1FFFFFh
200000h
PIC18FX520
(32 Kbyte)
PIC18FX620
(64 Kbyte)
PIC18FX720
(128 Kbyte)
Note:
Size of memory regions not to scale.
TABLE 4-1:
MEMORY ACCESS FOR PIC18F8X20 PROGRAM MEMORY MODES
Internal Program Memory
External Program Memory
Operating Mode
Execution
From
Table Read
Execution
From
Table Read
From
Table Write To
Table Write To
From
Microprocessor
Microprocessor
w/ Boot Block
No Access
Yes
No Access
Yes
No Access
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Microcontroller
Extended
Microcontroller
Yes
Yes
Yes
Yes
Yes
Yes
No Access
Yes
No Access
Yes
No Access
Yes
DS39609A-page 40
Advance Information
2003 Microchip Technology Inc.