My microcontroller sometimes resets. To chase down this problem, I want to configure the watchdog so that it interrupts, then, inside the wake interrupt, read the value of the return program counter, write it to EEPROM, then reset. Assuming this can work, my biggest obstacle is how to access the RPC register -- i.e., read its value into a C symbol. Can someone describe the procedure for doing this in assembly?