-- a way you will know that you've done a reset and not a power-off is to declare a flag (variable) but there is no need for this since it is already their (PORF). reset tends to retain the value of the flag while power-off (suspended for a while) will reset all values of the variables that you declared except those stored in the EEPROM.
-- maybe there is another flag for low-voltage reset?
-- POR, this can be set by your compiler or it can be done manually. what this does is, upon power-up the program counter will point to the reset vector and execute the code from their.
-- pulling /RESET to low doesn't do anything. it is pulled high since it is inverted.
i guess, hehe :smileyhappy: