English
Language : 

PIC18F26K80-I Datasheet, PDF (102/622 Pages) Microchip Technology – 28/40/44/64-Pin, Enhanced Flash Microcontrollers with ECAN™ and nanoWatt XLP Technology
PIC18F66K80 FAMILY
6.1 Program Memory Organization
PIC18 microcontrollers implement a 21-bit Program
Counter (PC) that is capable of addressing a 2-Mbyte
program memory space. Accessing a location between
the upper boundary of the physically implemented
memory and the 2-Mbyte address will return all ‘0’s (a
NOP instruction).
The entire PIC18F66K80 family offers a range of
on-chip Flash program memory sizes, from 32 Kbytes
(16,384 single-word instructions) to 64 Kbytes
(32,768 single-word instructions).
• PIC18F25K80, PIC18F45K80 and PIC18F65K80 –
32 Kbytes of Flash memory, storing up to
16,384 single-word instructions
• PIC18F26K80, PIC18F46K80 and PIC18F66K80 –
64 Kbytes of Flash memory, storing up to
32,768 single-word instructions
The program memory maps for individual family
members are shown in Figure 6-1.
6.1.1 HARD MEMORY VECTORS
All PIC18 devices have a total of three hard-coded
return vectors in their program memory space. The
Reset vector address is the default value to which the
Program Counter returns on all device Resets. It is
located at 0000h.
PIC18 devices also have two interrupt vector
addresses for handling high-priority and low-priority
interrupts. The high-priority interrupt vector is located at
0008h and the low-priority interrupt vector is at 0018h.
The locations of these vectors are shown, in relation to
the program memory map, in Figure 6-2.
FIGURE 6-2:
HARD VECTOR FOR
PIC18F66K80 FAMILY
DEVICES
Reset Vector
0000h
High-Priority Interrupt Vector 0008h
Low-Priority Interrupt Vector 0018h
On-Chip
Program Memory
Read ‘0’
1FFFFFh
Legend:
(Top of Memory) represents upper boundary
of on-chip program memory space (see
Figure 6-1 for device-specific values).
Shaded area represents unimplemented
memory. Areas are not shown to scale.
DS39977F-page 102
 2010-2012 Microchip Technology Inc.