SPMU447 June 2026 CC2755P20
An exception return occurs when the processor is in Handler mode and execution of one of the following instructions attempts to set the PC to an EXC_RETURN value:
| Bits | Name | Description |
|---|---|---|
[31:24] | PREFIX | Indicates that this is an EXC_RETURN value. This field reads as 0b11111111 |
| [23:7] | - | Reserved, RES1 |
[6] | S | Indicates whether registers have been pushed to a Secure or Non-secure stack. 0: Non-secure stack used 1: Secure stack used. |
[5] | DCRS | Indicates whether the default stacking rules apply, or whether the called registers are already on the stack. 0: Stacking of the called saved registers is skipped 1: Default rules for stacking the called registers are followed |
[4] | FType | In a PE with the Main and Floating-point Extensions: 0: The PE allocated space on the stack for FP context 1: The PE did not allocate space on the stack for FP context. In a PE without the Floating-point Extension, this bit is Reserved, RES1 |
[3] | Mode | Indicates the mode that was stacked from. 0: Handler mode 1: Thread mode |
[2] | SPSEL | Indicates which stack contains the exception stack frame. 0: Main stack pointer 1: Process stack pointer |
[1] | - | Reserved, RES0 |
[0] | ES | Indicates the Security state the exception was taken to. 0: Non-secure 1: Secure |