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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/09/01 15:55
Read: times


 
#9915 - 8051&8052 Powerdown Archemedes compiler
I am using a old C compiler by Archemedes, which does not seem to allow for inline assembly code. I've written a program that works well, and will enter powerdown mode when a interrupt is called.

I can't figure out how to retain some variable values after powerup, as the C compiler automatically resets all variables to 0.(Sets the variable name in the ROM, and the value in the RAM) Where would the "non-volatile" memory portion be that I can explicity write to? I know that the SFRs are reset, but supposidly the RAM is not. Has anyone used the command no_init or otherwise on any compilers to get this feature to work?

thanks


List of 2 messages in thread
TopicAuthorDate
8051&8052 Powerdown Archemedes compiler            01/01/70 00:00      
RE: 8051&8052 Powerdown Archemedes compiler            01/01/70 00:00      

Back to Subject List