Hi Les,
Yes, I realized Preset was an equate in your program. That was clear. It was not in Logjkos's code to which my comment applied.
Edit:
PS: I believe GIE is cleared automatically upon entry to an interrupt and reset with RETFIE. Without knowing the rest of the code, it might be a good idea to save context, or at least w on entering the interrupt.
John
Yes, I realized Preset was an equate in your program. That was clear. It was not in Logjkos's code to which my comment applied.
Edit:
PS: I believe GIE is cleared automatically upon entry to an interrupt and reset with RETFIE. Without knowing the rest of the code, it might be a good idea to save context, or at least w on entering the interrupt.
John
Last edited: