RISCV interrupts


(Abdul Muneeb) #1

I want to ask about interrupts dealing in RISV architecture.
As when any exception or interrupt comes during an execution of program in a pipelined processor, the PC of that unfortunate instruction is stored in SEPC register and after survicing interrupts what PC value is given back either it is PC of that instruction or PC+4 for next instruction in instruction memory.