| ??? 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 |
| Topic | Author | Date |
| 8051&8052 Powerdown Archemedes compiler | 01/01/70 00:00 | |
RE: 8051&8052 Powerdown Archemedes compiler | 01/01/70 00:00 |



