High precision timed events without interrupts for 12-bit PIC (instruction cycle accurate) using a non-isochronous main loop

Code: