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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/03/01 23:52
Read: times


 
#10531 - RE: Interrupt is interrupting the subrou
That's the only way.

With other subroutines, you can rely on the caller "knowing" that it'll destroy a register, and so the caller can save the register if it needs to.

An interrupt can happen at any time without warning, so the "interrupted" code can't know when it needs to save a register. Therefore the ISR must save every register which it changes!

List of 10 messages in thread
TopicAuthorDate
Interrupt is interrupting the subroutine            01/01/70 00:00      
RE: Interrupt is interrupting the subroutine            01/01/70 00:00      
RE: Interrupt is interrupting the subroutine            01/01/70 00:00      
RE: Interrupt is interrupting the subrou            01/01/70 00:00      
RE: Interrupt is interrupting the subrou            01/01/70 00:00      
RE: Interrupt is interrupting the subrou            01/01/70 00:00      
RE: Interrupt is interrupting the subrou            01/01/70 00:00      
RE: Interrupt is interrupting the subroutine            01/01/70 00:00      
RE: Interrupt is interrupting the subroutine            01/01/70 00:00      
RE: Interrupt is interrupting the subroutine            01/01/70 00:00      

Back to Subject List