DCPS3

Debug change PE state to EL3

This instruction, when executed in Debug state:

  • If executed at EL3, selects SP_EL3.
  • Otherwise, changes the current Exception level and SP to EL3 using SP_EL3.
  • The target exception level of a DCPS3 instruction is EL3.

    On executing a DCPS3 instruction:

  • ELR_EL3 becomes UNKNOWN.
  • SPSR_EL3 becomes UNKNOWN.
  • ESR_EL3 becomes UNKNOWN.
  • DLR_EL0 and DSPSR_EL0 become UNKNOWN.
  • The endianness is set according to SCTLR_EL3.EE.
  • This instruction is always UNDEFINED in Non-debug state.

    This instruction is UNDEFINED at all exception levels if either:

  • EDSCR.SDD == 1.
  • EL3 is not implemented.
  • For more information on the operation of the DCPS<n> instructions, see DCPS.

    Encoding: System

    313029282726252423222120191817161514131211109876543210
    1101010010100011
    opcimm16op2LL

    DCPS3 {#<imm>}

    Decoding algorithm

    // Empty.

    Operation

    if !Halted() then UNDEFINED;
    DCPSInstruction(EL3);

    Explanations

    <imm>: Is an optional 16-bit unsigned immediate, in the range 0 to 65535, defaulting to 0 and encoded in the "imm16" field.