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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/01/05 18:03
Read: times


 
#86300 - an ISR returns to where it happened
Responding to: ???'s previous message
when ISR is ended i want that program restarted from specific point

That is bending, folding and mutilating and will, most likely get you in trouble. If you fix this frequent "hang" there will, most likely, be a somewhat less frequent hang ....

The correct method

main:
....
....
jnb flag, no_action
call action
no_action:
...
...
jmp main

ISR
setb flag
reti


Erik

List of 14 messages in thread
TopicAuthorDate
Hanging Up My 8051?            01/01/70 00:00      
   an ISR returns to where it happened            01/01/70 00:00      
      correction            01/01/70 00:00      
      Re:hanging up my 8051.            01/01/70 00:00      
         no such assumption            01/01/70 00:00      
   2 things            01/01/70 00:00      
      experience is not everything!            01/01/70 00:00      
         somebody like you!            01/01/70 00:00      
   If you know exactly what you do...            01/01/70 00:00      
      he is going to do it            01/01/70 00:00      
         The rare case            01/01/70 00:00      
   bad things            01/01/70 00:00      
      On reloading default (e.g. SP)            01/01/70 00:00      
      Thanks Oleg            01/01/70 00:00      

Back to Subject List