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 “INT - Interrupts” chapter for more details.

Table 9-1. Device Sizes and Addresses
DeviceProgram Memory Size (Words)Last Program Memory Address
PIC16F171144,0960FFFh
PIC16F171158,1921FFFh
PIC16F171244,0960FFFh
PIC16F171258,1921FFFh
PIC16F171444,0960FFFh
PIC16F171458,1921FFFh
Figure 9-1. Program Memory and Stack (PIC16F171x4)
Figure 9-2. Program Memory and Stack (PIC16F171x5)