Jerson, thanks for your comments. However, your comments confuse me slightly: 1) I thought my code does clear the mismatch condition for both types of interrupts at the end of each IF-THEN block for each interrupt before RESUME where i read the Ports (dummy = flush or dummy = TMR0);
2) I also thought my code does clear the intterupt flags for both types( FLUSH_INT_FLAG = 0 and TMR0_INT_FLAG = 0).
Your comment about reading RB3 also confuses me since I am not using the RB3 as an intterupt.
Can you please take another look at my interrupt service routine and clarify whether these coded statements are actually clearing the interrupts? Thanks!
Bookmarks