PIC18LF46K40 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).

VectorProgram addressNameHandlerSource
00x0000RESET reset: main() after start-upReset vector, address 0x0000
10x0008HIGH_PRIORITY __interrupt(high_priority)High-priority interrupts, address 0x0008. Sources: INT0, INT1, INT2, IOC, TMR0, AD, ADT, CSW, OSCF, C1, C2, ZCD, HLVD, SSP1, BCL1, SSP2, BCL2, TX1, RC1, TX2, RC2, TMR1, TMR2, TMR3, TMR4, TMR5, TMR6, T
20x0018LOW_PRIORITY __interrupt(low_priority)Low-priority interrupts (IPEN set), address 0x0018