Hi all; I am using AT89S8252 device and Keil's C-language compiler. I have a 5.7 kb long program. Whenever user presses a button connected to External int 0, the control passes to INT_0_ISR I want to allways return back from ISR to a label 'option'. While the ISR normally will return to where it was interrupted. How can I achieve this please? - arun
"the ISR normally will return to where it was interrupted." That is the whole point of interrupts!! If that's not what you want, then don't use an interrupt! Normally, one would get the ISR to set a flag; the main code would examine this flag at appropriate points, and act accordingly.
Hi Neil, Thank u for the reply-arun
now 3 times you have thanked micro and he did not even post. Erik
View all questions in Keil forum