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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/12/07 10:25
Read: times


 
#137024 - Maybe an event gets lost
Responding to: ???'s previous message
Hello Chen

The code example shows that you reset TI and RI, even if only one of the flags were set. Have you though about what happens (as an example) when TI was 1, RI was 0, and then, just before the instruction RI=0 is done, RI was set by hardware?

Because your code example is so small, I can't do more than speculate on this.

Best reagrds
J. Christoph

List of 10 messages in thread
TopicAuthorDate
two interrupts request at the same time            01/01/70 00:00      
   datasheet            01/01/70 00:00      
      right,but            01/01/70 00:00      
         error? what kind of error?            01/01/70 00:00      
            not reset,in debug PC don't change any more            01/01/70 00:00      
         Sounds like an atomicity problem            01/01/70 00:00      
         Maybe an event gets lost            01/01/70 00:00      
         initialization sequencing            01/01/70 00:00      
            a rare bug....            01/01/70 00:00      
         Interupts            01/01/70 00:00      

Back to Subject List