Quote Originally Posted by Tomexx View Post
Quick question, why are you enabling the interrupts after the ASM-ENDASM not inside?
Either way will work fine. But ...
Different types of interrupts, like Timers or CCP Capture, need to have things set-up before the interrupt is enabled. I just put it that way to show that you don't have to enable it inside that same ASM block. It can be done later in the program too (if needed).

Also, why the funny indentation inside ASM-ENDASM? Remember, I'm new to interrupts and don't know assmebler
The INT_LIST macro, or anything else that creates a label, must start in column 1.
The rest is arbitrary and cannot start in column 1.

It might look strange because I tried to line up the commas with the comment above the line just as a reminder of what the INT_Handler parameters are.
Guess it didn't work so good.
<br>