Well, I don't think I can manage without interrupts. In my code the program waits for serial data on one pin from an RF receiver. And if RI pin of my modem attached to RB0 pin goes low, the code should check any sms received as well. So, interrupt is needed..... if all you want to do is restart the program after an interrupt, then you don't even need interrupts.
How I can do that-disable the interrupts (Is it by adding DISABLE before the code) ? and also can they be enabled again when needed by using @INT_ENABLE?Once enabled, interrupts will continue to fire.
They do not need to be enabled again, unless manually DISABLED in your program.
Regards
Bookmarks