English
Language : 

PIC18LF24K Datasheet, PDF (91/594 Pages) –
PIC18(L)F26/45/46K40
10.0 MEMORY ORGANIZATION
There are three types of memory in PIC18 enhanced
microcontroller devices:
• Program Memory
• Data RAM
• Data EEPROM
As Harvard architecture devices, the data and program
memories use separate buses; this allows for
concurrent access of the two memory spaces. The data
EEPROM, for practical purposes, can be regarded as
a peripheral device, since it is addressed and accessed
through a set of control registers.
Additional detailed information on the operation of the
Program Flash Memory and Data EEPROM Memory is
provided in Section 11.0 “Nonvolatile Memory
(NVM) Control”.
10.1 Program Memory Organization
PIC18 microcontrollers implement a 21-bit program
counter, which 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).
These devices contains the following:
• PIC18(L)F45K40: 32 K bytes of Flash memory, up
to 16,384 single-word instructions
• PIC18(L)F26K40, PIC18(L)F46K40: 64 Kbytes of
Flash memory, up to 32,768 single-word
instructions
PIC18 devices have two interrupt vectors. The Reset
vector address is at 0000h and the interrupt vector
addresses are at 0008h and 0018h.
Note: For memory information on this family of
devices, see Table 10-1 and Table 10-2.
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 91