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
PIC16F1525616,3843FFFh
PIC16F152744,0960FFFh
PIC16F152758,1921FFFh
PIC16F1527616,3843FFFh
Figure 9-1. Program Memory and Stack (PIC16F152x4)
Figure 9-2. Program Memory and Stack (PIC16F152x5)
Figure 9-3. Program Memory and Stack (PIC16F152x6)