You copied the Doc URL to your clipboard.

Saved ProgramStatus Registers in AArch32 state

The Saved Program Status Register (SPSR) stores the current value of the CPSR when an exception is taken so that it can be restored after handling the exception.

Each exception handling mode can access its own SPSR. User mode and System mode do not have an SPSR because they are not exception handling modes.

The execution state bits, including the endianness state andcurrent instruction set state can be accessed from the SPSR in anyexception mode, using the MSR and MRS instructions.You cannot access the SPSR using MSR or MRS inUser or System mode.

Was this page helpful? Yes No