Hi,
you can use a MC33064P5 ( TO92 Package ) as a voltage ref : its output will turn low if voltage goes under 4.65v ... 
enough time to save data to EEPROM, then ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks