PIC18F47J13 interrupt vectors
Reset at 0x0000, then two interrupt vectors: high priority at 0x0008 and low priority at 0x0018 (with IPEN set; otherwise every source uses 0x0008). Each source has an enable bit and a flag (the Registers page lists them). In XC8 a handler is void __interrupt() isr(void).
| Vector | Program address | Name | Handler | Source |
|---|---|---|---|---|
| 0 | 0x0000 | RESET | reset: main() after start-up | Reset vector, address 0x0000 |
| 1 | 0x0008 | HIGH_PRIORITY | __interrupt(high_priority) | High-priority interrupts, address 0x0008. Sources: CCP3, CCP4, CCP5, CCP6, CCP7, CCP8, CCP9, CCP10, TMR1G, TMR5G, TMR5, TMR6, TMR8, CM3, TMR1, TMR2, CCP1, SSP1, TX1, RC1, AD, PMP, CCP2, TMR3, LVD, BCL |
| 2 | 0x0018 | LOW_PRIORITY | __interrupt(low_priority) | Low-priority interrupts (IPEN set), address 0x0018 |