|Home > Overview of AArch64 state > Saved Program Status Registers in AArch64 state|
The Saved Program Status Registers (SPSRs) are 32-bit registers that store the process state of the current exception level when an exception is taken to an exception level that uses AArch64 state. This allows the process state to be restored after the exception has been handled.
In AArch64 state, each target exception level has its own SPSR:
When taking an exception, the process state of the current exception level is stored in the SPSR of the target exception level. On returning from an exception, the exception handler uses the SPSR of the exception level that is being returned from to restore the process state of the exception level that is being returned to.
The SPSRs store the following information: