This is a collection of Intel®’ IA32® Software Developer's Manuals (URL of the day) and AMD' AMD64 Architecture Programmer's Manual together with the related specifications, application notes, white papers, and change logs. The collection aims to keep all available revisions. It was originally created by Michal Necasek, see OS/2 Museum.

If you have a public document, related to the IA32® specifications and missing from the collection, please mail it to me. The content of this URL and all sub-ULRs is available for convenient bulk download by rsync x86docs password "" (empty).

DCPS1 -- AArch32

DCPS1

Debug Change PE State to EL1 allows the debugger to move the PE into EL1 from EL0 or to a specific mode at the current Exception level.

DCPS1 is UNDEFINED if any of:

When the PE executes DCPS1 at EL0, EL1 or EL3:

When the PE executes DCPS1 at EL2 the PE does not change mode, and ELR_hyp, HSR, SPSR_hyp, DLR and DSPSR become UNKNOWN.

For more information on the operation of the DCPS<n> instructions, see DCPS.

T1

15141312111098765432101514131211109876543210
11110111100011111000000000000001
imm4imm10opt

Encoding

DCPS1

Decode for this encoding

// No additional decoding required.

Operation

if !Halted() then Undefined(); end; if EL2Enabled() && PSTATE.EL == EL0 then let tge : bit = if ELUsingAArch32(EL2) then HCR().TGE else HCR_EL2().TGE; if tge == '1' then Undefined(); end; end; if PSTATE.EL != EL0 || ELUsingAArch32(EL1) then if PSTATE.M == M32_Monitor then SCR().NS = '0'; end; if PSTATE.EL != EL2 then AArch32_WriteMode(M32_Svc); PSTATE.E = SCTLR().EE; if IsFeatureImplemented(FEAT_PAN) && SCTLR().SPAN == '0' then PSTATE.PAN = '1'; end; Rmode(14, M32_Svc) = ARBITRARY : bits(32); // LR_svc SPSR_svc() = ARBITRARY : bits(32); else PSTATE.E = HSCTLR().EE; ELR_hyp() = ARBITRARY : bits(32); HSR() = ARBITRARY : bits(32); SPSR_hyp() = ARBITRARY : bits(32); end; DLR() = ARBITRARY : bits(32); DSPSR() = ARBITRARY : bits(32); else // Targeting EL1 using AArch64 AArch64_MaybeZeroRegisterUppers(); MaybeZeroSVEUppers(EL1); PSTATE.nRW = '0'; PSTATE.SP = '1'; PSTATE.EL = EL1; if IsFeatureImplemented(FEAT_PAN) && SCTLR_EL1().SPAN == '0' then PSTATE.PAN = '1'; end; if IsFeatureImplemented(FEAT_UAO) then PSTATE.UAO = '0'; end; ELR_EL1() = ARBITRARY : bits(64); ESR_EL1() = ARBITRARY : bits(64); SPSR_EL1() = ARBITRARY : bits(64); DLR_EL0() = ARBITRARY : bits(64); DSPSR_EL0() = ARBITRARY : bits(64); // SCTLR_EL1.IESB might be ignored in Debug state. if (IsFeatureImplemented(FEAT_IESB) && SCTLR_EL1().IESB == '1' && !ConstrainUnpredictableBool(Unpredictable_IESBinDebug)) then SynchronizeErrors(); end; end; UpdateEDSCRFields(); // Update EDSCR PE state flags


2025-09_rel_asl1 2026-03-12 12:57:38

Copyright © 2010-2025 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.