Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/17/06 15:06
Read: times


 
#122449 - typical beginner question
Responding to: ???'s previous message
Most beginners are thinking, that an interrupt occur only on a certain place of the code.

This may be almost true only on very small beginner projects.

But if a project grows, then an interrupt can occur absolutely anywhere and thus never returning will confuse any real application completely.


An Interrupt can and will occur anywhere !

So if you not absolutely 100% sure, that an interrupt without return from absolutely anywhere never harm the application, then never touch the stack



E.g. if you was interrupted during ironing by a telephone call and will never return, your home can burn down

But if you was interrupted during reading a book, not returning may be safe.

But the telephone call (interrupt event) can never know, if your current task was critical (must be finished) or not.


Peter


List of 10 messages in thread
TopicAuthorDate
PC redirect after interrupt            01/01/70 00:00      
   trick            01/01/70 00:00      
      Certainly tricky!            01/01/70 00:00      
         Why?            01/01/70 00:00      
   Why does this question keep popping up ?            01/01/70 00:00      
      I'll answer            01/01/70 00:00      
   Easiest scenario.            01/01/70 00:00      
      I doubt it            01/01/70 00:00      
   typical beginner question            01/01/70 00:00      
      Are you surte, I'm not            01/01/70 00:00      

Back to Subject List