← Home

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.

313029282726252423222120191817161514131211109876543210
11010110101111110000001111100000
opcop2op3Rnop4

Encoding

DRPS

Decode for this encoding

// Empty.

Operation

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