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 07:07
Read: times


 
#10498 - Interrupt is interrupting the subroutine
Hi all,

I have to run a timer with its interrupt enabled. I have to run a continuous loop in the main program also in which the Acc is used with RRC.

The problem is that the accumulator is destroyed by the ISR of the timer and when the control returns to the main after serving the ISR the data out finally is corrupt.

I can't PUSH/ POP the Acc as you never know when the Interrupt shall occur. (when to push and when to pop ??)

Simon

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