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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/13/08 17:49
Read: times


 
#154736 - Do you understand why?
Responding to: ???'s previous message
You end up with 2 issues.
The first is globals that are read and written between interrupts and main(). This is true for all embedded systems
The second is that Keil for the 8052 does not push all on to "the stack" it requires you to tell it if a function is re-entrant. This is due to hardware limitation of the 8052. Not that using re-entrant function has a cost in RAM and ROM. Other 8 bit micro controllers / Compilers may or may not have this limitation.

List of 19 messages in thread
TopicAuthorDate
Struct member losing value            01/01/70 00:00      
   Please post your code            01/01/70 00:00      
      Posted here (along with file descriptions):            01/01/70 00:00      
         the can of worms            01/01/70 00:00      
         Your program needs to be restructured            01/01/70 00:00      
            Can't mod this one up enough.            01/01/70 00:00      
            Thanks for the tips            01/01/70 00:00      
               You're doing pretty good then.            01/01/70 00:00      
                  I think that it can be said in a simple way            01/01/70 00:00      
                     Sorry but..            01/01/70 00:00      
                        Agreed            01/01/70 00:00      
                           the phrase was            01/01/70 00:00      
                              I agree            01/01/70 00:00      
                                 Don't ignore rules            01/01/70 00:00      
                           What is "short" in an ISR...?            01/01/70 00:00      
                              Two Program            01/01/70 00:00      
                                 breaking switch/case            01/01/70 00:00      
               Do you understand why?            01/01/70 00:00      
            make it a FAQ, please...            01/01/70 00:00      

Back to Subject List