Thanks for the tips guys.
Brian, I did some testing a long time ago and got the impression that the PIC10 did not retain RAM in deep sleep (WDT disabled etc). The drain from the EEPROM was a concern, but the system appears to be able to withstand it. I can do multiple reads and writes without going into sleep mode. So, I don't think voltage is a problem, but I think I will go back and do some basic testing again to get to the bottom of the RAM issue. As you say, if I can retain RAM data then I can eliminate a lot of code. Good guessing about those batteries.
The Word variables are aliased using the EXT command. Read through these threads:
Bits, Bytes Words and Arrays
The EXT (external) modifier.
Bookmarks