what is spsr in arm?
2.17 Saved Program Status Registers A Saved Program Status Register (SPSR) stores the current value of the CPSR when an exception is taken so that the CPSR can be restored after handling the exception. Each exception handling mode can access its own SPSR.