PIC18F66J99 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: CMP1, CMP2, CMP3, TX3, RC3, TX4, RC4, TMR1, TMR2, TMR1G, SSP1, TX1, RC1, AD, PSP, TMR3G, TMR3, HLVD, BCL1, USB, BCL2, SSP2, OSCF, RTCC, CCP1, CCP2, C |
| 2 | 0x0018 | LOW_PRIORITY | __interrupt(low_priority) | Low-priority interrupts (IPEN set), address 0x0018 |