Program memory
Reset and vector table, the program, the configuration words; addresses in program-counter units (two per instruction).
Where everything sits, at its exact address. The PIC24F16KL401 keeps program and data apart (modified Harvard). Program memory holds 24-bit instructions and is addressed in program-counter units, two per instruction, so flash ending at 0x002C00 holds 5,632 instructions (16.5 KB, three bytes each). The data space is 16-bit and byte-addressed: the special function registers at the bottom, then the RAM. Constants in flash are read into data space through the program space visibility window from 0x8000 (PSV, or EDS on the newer chips).
Reset and vector table, the program, the configuration words; addresses in program-counter units (two per instruction).
16-bit SFRs at the bottom, then the RAM; byte addresses.
Non-volatile data, kept without power.
| Segment | Space | Start | End | Size | Page |
|---|---|---|---|---|---|
| Special function registers | data | 0x0000 | 0x07FF | 2 KB | |
| RAM | data | 0x0800 | 0x0BFF | 1 KB | |
| EEPROM | eeprom | 0x0000 | 0x01FF | 512 B | |
| Flash | prog | 0x0000 | 0x2BFF | 16.5 KB (5,632 instructions) | |
| Configuration words | prog | 0xF80000 | 0xF80011 | 9 words |