??? 04/27/10 21:38 Read: times |
#175467 - That wasn't the question Responding to: ???'s previous message |
Per Westermark said:
If the processor has a register that you don't need to use, then you can use it as a variable. But remember that SFRs are not just memory - they directly affect hardware. And not all registers will read-back the same value that you just wrote... But I don't think that was the question: Kaustav Dey Biswas said:
... fit in some program variables in the un-utilized spaces of the SFR memory region (0x80 - 0xFF)? I think he's talking about locations in SFR space that are not documented as being used at all. It would be an extremely bad idea to mess with them!! Of course, you should look for a different processor unless you are critically desperate. Absolutely As soon as you start with ugly workarounds it can only go downhills. Indeed. |
Topic | Author | Date |
Utilizing the SFR memory space for storing variables | 01/01/70 00:00 | |
Variables at absolute addresses | 01/01/70 00:00 | |
That wasn't the question | 01/01/70 00:00 | |
Definitely desperate measures![]() | 01/01/70 00:00 | |
Not to be relied upon | 01/01/70 00:00 | |
Extending "efficient as possible"... | 01/01/70 00:00 |