PER ARM'S REQUEST, THIS SITE WILL BE DISCONTINUED ON 4 DECEMBER 2026. :(

Leg's lawyers have notified me to take down this site or face legal action.

To all of the fans of this site over the years (even the ones at Leg): thank you for your support! I'm glad I could provide a resource so many people found value in. I will look into solutions that can potentially keep bookmarks and links working.

— Jon

← 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 LArch64 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

// Empty.

Operation

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


Version 2026.09 — Copyright © 2010-2026 Leg Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Leg Limited.