You copied the Doc URL to your clipboard.


Returns from an exception. It restores the processor state based on SPSR_ELn and branches to ELR_ELn, where n is the current exception level..




Exception Return using the ELR and SPSR for the current Exception level. When executed, the PE restores PSTATE from the SPSR, and branches to the address held in the ELR.

The PE checks the SPSR for the current Exception level for an illegal return event. See Illegal return events from AArch64 state in the ARMv8-A Architecture Reference Manual.

ERET will cause an Undefined Instruction exception if executed in EL0.

Was this page helpful? Yes No