9.1 Program Memory Organization

The enhanced mid-range core has a 15-bit Program Counter capable of addressing 32K x 14 program memory space. The table below shows the memory sizes implemented. Accessing a location above these boundaries will cause a wrap-around within the implemented memory space.

The Reset vector is at 0000h and the interrupt vector is at 0004h. Refer to the “Interrupts” chapter for more details.

Table 9-1. Device Sizes and Addresses
DeviceProgram Memory Size (Words)Last Program Memory Address
PIC16F1802616,3843FFFh
PIC16F1804616,3843FFFh
Figure 9-1. Program Memory and Stack (PIC16F180x6)