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

PUSH -- AArch32

PUSH

Push Multiple Registers to Stack stores multiple general-purpose registers to the stack, storing to consecutive memory locations ending just below the address in SP, and updates SP to point to the start of the stored data.

The lowest-numbered register is stored to the lowest memory address, through to the highest-numbered register to the highest memory address. See also Encoding of lists of general-purpose registers and the PC.

T1

1514131211109876543210
1011010Mregister_list
L

Encoding

PUSH{<c>}{<q>} <registers> // (Preferred syntax)

STMDB{<c>}{<q>} SP!, <registers> // (Alternate syntax)

Decode for this encoding

let registers : bits(16) = '0'::M::'000000'::register_list; let UnalignedAllowed : boolean = FALSE; if BitCount(registers) < 1 then UnpredictableProcedure(); end;

CONSTRAINED UNPREDICTABLE behavior

If BitCount(registers) < 1, then one of the following behaviors must occur:

For more information about the CONSTRAINED UNPREDICTABLE behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.

Assembler Symbols

<c>

See Standard assembler syntax fields.

<q>

See Standard assembler syntax fields.

<registers>

Is a list of one or more registers to be stored, separated by commas and surrounded by { and }.

The registers in the list must be in the range R0-R7, encoded in the "register_list" field, and can optionally include the LR. If the LR is in the list, the "M" field is set to 1, otherwise this field defaults to 0.

Operation

if ConditionPassed() then EncodingSpecificOperations(); var address : bits(32) = R(13) - 4*BitCount(registers); for i = 0 to 14 do if registers[i] == '1' then if i == 13 && i != LowestSetBit(registers) then // Only possible for encoding A1 MemA{32}(address) = ARBITRARY : bits(32); else if UnalignedAllowed then MemU{32}(address) = R(i); else MemA{32}(address) = R(i); end; end; address = address + 4; end; end; if registers[15] == '1' then // Only possible for encoding A1 or A2 if UnalignedAllowed then MemU{32}(address) = PCStoreValue(); else MemA{32}(address) = PCStoreValue(); end; end; R(13) = R(13) - 4*BitCount(registers); end;


2026-03_rel 2026-03-26 20:48:11

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