PIC16LF1847 interrupt vectors

Reset at 0x0000 and one interrupt vector at 0x0004 for every source: the handler checks each source's flag. 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
10x0004INTERRUPT __interrupt()All interrupts, address 0x0004. Sources: IOC, TMR0, TMR1, TMR2, CCP1, SSP1, TX, RC, AD, TMR1G, CCP2, BCL1, EE, C1, C2, OSF, TMR4, TMR6, CCP3, CCP4, SSP2, BCL2