jesusvasquez
Member
Hello everyone,
I'm facing a problem with the retentive property of the allocated memory.
I'm using bits (BOOL) of some %MW allocated registers as flags. I saw that after a warm reset these flags keep the previous status. But, I want these flags to be clear after any kind of restart (cold & warm resets).
The only solution that I could thinks was to manually reset the flags when the system bit %S1 is set.
Does anybody knows any alternative to do this? Maybe something more elegant? Or some configuration on the CPU for disable the retentive memory?
Thank you very much.
Jesus
I'm facing a problem with the retentive property of the allocated memory.
I'm using bits (BOOL) of some %MW allocated registers as flags. I saw that after a warm reset these flags keep the previous status. But, I want these flags to be clear after any kind of restart (cold & warm resets).
The only solution that I could thinks was to manually reset the flags when the system bit %S1 is set.
Does anybody knows any alternative to do this? Maybe something more elegant? Or some configuration on the CPU for disable the retentive memory?
Thank you very much.
Jesus