<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE register_page SYSTEM "registers.dtd">
<!-- Copyright (c) 2010-2026 Arm Limited or its affiliates. All rights reserved. -->
<!-- This document is Non-Confidential. This document may only be used and distributed in accordance with the terms of the agreement entered into by Arm and the party that Arm delivered this document to. -->
<!--The data contained in this document is preliminary and subject to change or correction following further review. -->
<?xml-stylesheet href="one_register.xsl" type="text/xsl" ?>







<register_page>
  <registers>
  
    <register execution_state="AArch64" is_register="False" is_internal="True" is_stub_entry="False">
      <reg_short_name>AT S1E1W</reg_short_name>
        
        <reg_long_name>Address Translate Stage 1 EL1 Write</reg_long_name>



      
            <reg_condition otherwise="UNDEFINED">when FEAT_AA64 is implemented</reg_condition>
      




          <reg_reset_value></reg_reset_value>

      <reg_mappings>
        




      </reg_mappings>

        <reg_purpose>
          
    
      <purpose_text>
        <para>Performs stage 1 address translation, with permissions as if writing to the given virtual address from EL1, or from EL2 if the Effective value of <register_link state="AArch64" id="AArch64-hcr_el2.xml">HCR_EL2</register_link>.{E2H, TGE} is {1, 1}, using the following translation regime:</para>

      </purpose_text>
      <purpose_text>
        <list type="unordered">
<listitem><content>When EL2 is implemented and enabled in the Security state described by the current Effective value of <register_link state="AArch64" id="AArch64-scr_el3.xml">SCR_EL3</register_link>.{NSE, NS}:<list type="unordered">
<listitem><content>If the Effective value of <register_link state="AArch64" id="AArch64-hcr_el2.xml">HCR_EL2</register_link>.{E2H, TGE} is not {1, 1}, the EL1&amp;0 translation regime, accessed from EL1.</content>
</listitem><listitem><content>If the Effective value of <register_link state="AArch64" id="AArch64-hcr_el2.xml">HCR_EL2</register_link>.{E2H, TGE} is {1, 1}, the EL2&amp;0 translation regime, accessed from EL2.</content>
</listitem></list>
</content>
</listitem><listitem><content>Otherwise, the EL1&amp;0 translation regime, accessed from EL1.</content>
</listitem></list>

      </purpose_text>
      <purpose_text>
        <para>When FEAT_RME is implemented, if the Effective value of <register_link state="AArch64" id="AArch64-scr_el3.xml">SCR_EL3</register_link>.{NSE, NS} is a reserved value, this instruction is <arm-defined-word>UNDEFINED</arm-defined-word> at EL3.</para>
      </purpose_text>

        </reg_purpose>

      <reg_groups>
            <reg_group>Address</reg_group>
      </reg_groups>
      
      
        
      <reg_attributes>
          
    
      <attributes_text>
        <para>AT S1E1W is a 64-bit System instruction.</para>
      </attributes_text>

      </reg_attributes>
      <reg_fieldsets>
        






<fields id="fieldset_0" length="64">
  <text_before_fields/>
  <field id="fieldset_0-63_0" has_partial_fieldset="False" is_linked_to_partial_fieldset="False" is_access_restriction_possible="False" is_variable_length="False" is_constant_value="False" is_partial_field="False" is_conditional_field_name="False">
    <field_name>IA</field_name>
    <field_shortdesc>Input address for translation</field_shortdesc>
    <field_msb>63</field_msb>
    <field_lsb>0</field_lsb>
    <rel_range>63:0</rel_range>
    <field_description order="before"><para>Input address for translation. The resulting address can be read from the <register_link state="AArch64" id="AArch64-par_el1.xml">PAR_EL1</register_link>.</para>
<para>If the address translation instructions are targeting a translation regime that is using AArch32, and so has a VA of only 32 bits, then VA[63:32] is <arm-defined-word>RES0</arm-defined-word>.</para></field_description>
  </field>
  <text_after_fields/>
</fields>




<reg_fieldset length="64">
  <fieldat id="fieldset_0-63_0" msb="63" lsb="0"/>
</reg_fieldset>


      </reg_fieldsets>

      <access_mechanisms>
          


  
    
      <access_permission_text>
        <para>This system instruction is an alias of the SYS instruction.</para>
      </access_permission_text>





    
        
        <access_mechanism accessor="AT S1E1W" type="SystemAccessor">
            <encoding>
            <access_instruction>AT S1E1W, &lt;Xt&gt;</access_instruction>
                
                <enc n="op0" v="0b01"/>
                
                <enc n="op1" v="0b000"/>
                
                <enc n="CRn" v="0b0111"/>
                
                <enc n="CRm" v="0b1000"/>
                
                <enc n="op2" v="0b001"/>
            </encoding>
            <access_permission>
                <ps name="AT" sections="1" secttype="access_permission">
                <pstext>
if !IsFeatureImplemented(FEAT_AA64) then
    Undefined();
elsif PSTATE.EL == EL0 then
    Undefined();
elsif PSTATE.EL == EL1 then
    if EL2Enabled() &amp;&amp; HCR_EL2().AT == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    elsif EL2Enabled() &amp;&amp; IsFeatureImplemented(FEAT_FGT) &amp;&amp; (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') &amp;&amp; HFGITR_EL2().ATS1E1W == '1' then
        AArch64_SystemAccessTrap(EL2, 0x18);
    else
        AArch64_AT(X{64}(t), TranslationStage_1, EL1, ATAccess_Write);
    end;
elsif PSTATE.EL == EL2 then
    AArch64_AT(X{64}(t), TranslationStage_1, EL1, ATAccess_Write);
elsif PSTATE.EL == EL3 then
    if IsFeatureImplemented(FEAT_RME) &amp;&amp; EffectiveSCR_EL3_NS() == '0' &amp;&amp; EffectiveSCR_EL3_NSE() == '1' then
        Undefined();
    else
        AArch64_AT(X{64}(t), TranslationStage_1, EL1, ATAccess_Write);
    end;
end;
                </pstext>
                </ps>
            </access_permission>
        </access_mechanism>

      </access_mechanisms>

      <arch_variants>
      </arch_variants>
  </register>
</registers>
<timestamp>2026-03-26 20:27:25</timestamp>
<commit_id>2026-03_rel</commit_id>
</register_page>