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

Encoding

Binary Layout
11010100
31:24
101
23:21
imm16
20:5
000
4:2
10
1:0
 
Format Exception
Opcode 0xD4A00002
Extension System

Operands

  • imm
    ID

Related

Other forms of dcps2

  • dcps2 Debug Change PE State to EL2 (A32)

More in System

Reference

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);