EPC) is a read/write register that contains the address at which processing resumes after an exception has been serviced.
For synchronous exceptions, the EPC register contains either:
- the virtual address of the instruction that was the direct cause of the exception, or
- the virtual address of the immediately preceding branch or jump instruction (when the instruction is in a branch delay slot, and the Branch Delay bit in the Cause register is set).
The processor does not write to the EPC register when the