dcps2
Debug Change PE State to EL2
DCPS2 {#<imm>}
Switch to Exception Level 2 (Debug).
Pseudocode Operation
SPSR_EL2 ← PSTATE
PSTATE.EL ← '10'
PC ← DLR_EL0
Example
DCPS2
Reference
View in Arm A64 ISA Reference ↗
Arm A64 ISA
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0xD4A00002 | DCPS2 {#<imm>} | A64 | 11010100 | 101 | imm16 | 000 | 10 |
Description
Debug Change PE State to EL2, when executed in Debug state: The target exception level of a DCPS2 instruction is: When the target Exception level of a DCPS2 instruction is ELx, on executing this instruction: This instruction is UNDEFINED at the following exception levels: This instruction is always UNDEFINED in Non-debug state. For more information on the operation of the DCPS<n> instructions, see DCPS.
Operation
if !Halted() then UNDEFINED; DCPSInstruction(LL);