Quote Originally Posted by RHS_electronics View Post
dummy=PORTA
What do you mean by this?
You'll need to have a BYTE variable
Code:
dummy  VAR BYTE
At this point the variable isn't used for anything.
But by simply reading PORTA, it resets the Latches used to detect the change on the Port.

Without clearing the "Mismatch" condition, there's no way to reset the interrupt flag.
So as soon as you RESUME from the interrupt handler, it would jump right back into the interrupt again.
<br>