Program memory
Instructions, the user ID and the configuration words.
Configuration words0x300000 – 0x30000D14 B
User ID0x200000 – 0x2000078 B
Flash0x0000 – 0x1FFF8 KB
Where everything sits, at its exact address. The PIC18F2320 keeps program and data apart (Harvard): program memory holds 16-bit instruction words, addressed in bytes, while the special function registers and the general-purpose RAM share the banked data memory.
Instructions, the user ID and the configuration words.
Banked: special function registers and general-purpose RAM in each bank.
Non-volatile data, kept without power.
| Segment | Space | Start | End | Size | Page |
|---|---|---|---|---|---|
| RAM, bank 0 | data | 0x0000 | 0x007F | 128 B | |
| General-purpose RAM, all banks | data | 0x0000 | 0x01FF | 512 B | |
| RAM, bank 0 | data | 0x0080 | 0x00FF | 128 B | |
| RAM, bank 1 | data | 0x0100 | 0x01FF | 256 B | |
| EEPROM | eeprom | 0x0000 | 0x00FF | 256 B | |
| Flash | prog | 0x0000 | 0x1FFF | 8 KB | |
| User ID | prog | 0x200000 | 0x200007 | 8 B | |
| Configuration words | prog | 0x300000 | 0x30000D | 14 B |