dcps3
Debug Change PE State to EL3
DCPS3 {#<imm>}
Switch to Exception Level 3 (Debug).
Details
Debug instruction that changes the PE to Exception Level 3. This is a privileged instruction typically used in debug state to transition exception levels. The optional immediate provides a 16-bit debug context identifier. Requires debug permissions and is AArch64-only.
Pseudocode Operation
SPSR_EL3 ← PSTATE
PSTATE.EL ← '11'
PC ← DLR_EL0
Example
DCPS3
Encoding
Binary Layout
11010100
101
imm16
000
11
Operands
-
imm
ID
Reference (Arm A64 ISA)
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0xD4A00003 | DCPS3 {#<imm>} | A64 | 11010100 | 101 | imm16 | 000 | 11 |
Description
Debug Change PE State to EL3, when executed in Debug state:
The target exception level of a DCPS3 instruction is EL3.
On executing a DCPS3 instruction:
This instruction is UNDEFINED at all exception levels if either:
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);