DRPS

Debug restore PE state

This instruction restores PSTATE from the SPSR.

The SPSR is checked for the current Exception level for an illegal return event. See Illegal exception returns from AArch64 state.

This instruction is UNDEFINED in Non-debug state.

This instruction is UNDEFINED at EL0.

For more information on the operation of DRPS, see DRPS.

Encoding: System

313029282726252423222120191817161514131211109876543210
11010110101111110000001111100000
opcop2op3Rnop4

DRPS

Decoding algorithm

// Empty.

Operation

if !Halted() || PSTATE.EL == EL0 then UNDEFINED;
DRPSInstruction();

Explanations