ARM Instructions
1,361 instructions - showing 100 per page, page 10 of 14 - click any row to view encoding, pseudocode, and full documentation.
How ARM compares to the other CPU architectures
Decode a ARM instruction word
Download this data (public domain)
| Mnemonic | Syntax | Format | Extension | Summary |
|---|---|---|---|---|
| sqrshrunb | SQRSHRUNB <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Rounding Shift Right Unsigned Narrow (Bottom) |
| sqrshrunt | SQRSHRUNT <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Rounding Shift Right Unsigned Narrow (Top) |
| sqshrnb | SQSHRNB <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Shift Right Narrow (Bottom) |
| sqshrnt | SQSHRNT <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Shift Right Narrow (Top) |
| sqshrunb | SQSHRUNB <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Shift Right Unsigned Narrow (Bottom) |
| sqshrunt | SQSHRUNT <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Shift Right Unsigned Narrow (Top) |
| sqsub | SQSUB <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Subtracts signed integers with saturation. |
| sqsub | SQSUB <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Saturating Subtract. |
| sqxtn | SQXTN <Vd>.<Tb>, <Vn>.<Ta> | SIMD Shift Imm | NEON (SIMD) | Reads wide elements, saturates, and narrows. |
| srhadd | SRHADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Rounding Halving Add. |
| sri | SRI <Vd>.<T>, <Vn>.<T>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Shifts source right and inserts into destination. |
| srs | SRS<c> SP{!}, #<mode> | System | A32 (System) | Stores LR and SPSR to the stack of a specific mode. |
| srshl | SRSHL <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Rounding Shift Left. |
| ssat | SSAT<c> <Rd>, #<imm>, <Rm> {, <shift>} | Data Proc | A32 (DSP) | Saturates a signed value to a specified bit width. |
| ssat16 | SSAT16<c> <Rd>, #<imm>, <Rm> | Data Proc | A32 (DSP) | Saturates two signed 16-bit values. |
| ssbb | SSBB | System Hint | A32 (v8.0) | Prevents speculative loads bypassing earlier stores (v8.0). |
| sshllb | SSHLLB <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Shift Left Long (Bottom) |
| sshllt | SSHLLT <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Shift Left Long (Top) |
| sshr | SSHR <Vd>.<T>, <Vn>.<T>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Shifts elements right (arithmetic/sign-extending). |
| ssra | SSRA <Vd>.<T>, <Vn>.<T>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Arithmetic right shift and add to destination. |
| ssub16 | SSUB16<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Parallel sub of two signed 16-bit halfwords. |
| ssubl | SSUBL <Vd>.<Td>, <Vn>.<Ts>, <Vm>.<Ts> | SIMD Three Register Diff | NEON (SIMD) | Subtracts signed narrow vectors, producing wider result. |
| ssublb | SSUBLB <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Subtract Long (Bottom) |
| ssublt | SSUBLT <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Subtract Long (Top) |
| st1 | ST1 { <Vt>.<T>, ... }, [<Xn|SP>] | SIMD Load/Store | NEON (SIMD) | Stores one element structure from 1-4 registers to memory. |
| st1b | ST1B { <Zt>.<T> }, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Store | SVE | Stores active bytes from vector to memory. |
| st1d | ST1D { <Zt>.D }, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Store | SVE | Stores active doublewords from vector to memory. |
| st1d | ST1D { <Zt>.D }, <Pg>, [<Xn|SP>, <Zm>.D, LSL #3] | SVE Scatter | SVE | Stores doublewords to non-contiguous memory addresses. |
| st1h | ST1H { <Zt>.H }, <Pg>, [<Xn|SP>] | SVE Store | SVE | Stores active halfwords from vector to memory. |
| st1w | ST1W { <Zt>.<T> }, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}] | SVE Store | SVE | Stores active words from vector to memory. |
| st1w | ST1W { <Zt>.S }, <Pg>, [<Xn|SP>, <Zm>.S, SXTW #<shift>] | SVE Scatter | SVE | Stores words to non-contiguous addresses. |
| st2 | ST2 { <Vt1>.<T>, <Vt2>.<T> }, [<Xn|SP>] | SIMD Load/Store | NEON (SIMD) | Stores two-element structures from two registers to memory (Interleave). |
| st2g | ST2G <Xt|SP>, [<Xn|SP>, #<simm>] | Load/Store | MTE (Memory Tagging) | Stores the Allocation Tag to two memory granules. |
| st3 | ST3 { <Vt1>.<T>, <Vt2>.<T>, <Vt3>.<T> }, [<Xn|SP>] | SIMD Load/Store | NEON (SIMD) | Stores three-element structures from three registers (Interleave RGB). |
| st4 | ST4 { <Vt1>.<T>, <Vt2>.<T>, <Vt3>.<T>, <Vt4>.<T> }, [<Xn|SP>] | SIMD Load/Store | NEON (SIMD) | Stores four-element structures from four registers (Interleave RGBA). |
| st64b | ST64B <Xt>, [<Xn|SP>] | Load/Store | LSE (Atomics) | Stores a 64-byte block of data atomically. |
| st64bv | ST64BV <Ws>, <Xt>, [<Xn|SP>] | Load/Store | LSE (Atomics) | Stores 64 bytes atomically and returns status (Success/Fail). |
| st64bv0 | ST64BV0 <Ws>, <Xt>, [<Xn|SP>] | Load/Store | LSE (Atomics) | Stores 64 bytes (eliding the first 8 bytes as zero) and returns status. |
| stc | STC{L}<c> <coproc>, <CRd>, [<Rn>, #+/-<imm>]{!} | Coprocessor | A32 (System) | Stores coprocessor contents to memory. |
| stc2 | STC2{L}<c> <coproc>, <CRd>, [<Rn>, #+/-<imm>]{!} | Coprocessor | A32 (System) | Stores coprocessor contents to memory (Extension encoding). |
| stg | STG <Xt|SP>, [<Xn|SP>], #<simm> | Load/Store | MTE (Memory Tagging) | Stores the Allocation Tag to memory, then adds the offset to the base register (post-index). |
| stg | STG <Xt|SP>, [<Xn|SP>, #<simm>] | Load/Store | MTE (Memory Tagging) | Stores the Allocation Tag to memory. |
| stgp | STGP <Xt>, <Xt2>, [<Xn|SP>, #<simm>] | Load/Store | MTE (Memory Tagging) | Stores Tag and two 64-bit data values. |
| stl | STL<c> <Rt>, [<Rn>] | Load/Store | A32 (Atomic) | Stores a word with Release semantics. |
| stlex | STLEX<c> <Rd>, <Rt>, [<Rn>] | Load/Store | A32 (Atomic) | Stores a word with Release Exclusive semantics. |
| stlexb | STLEXB<c> <Rd>, <Rt>, [<Rn>] | Store Excl | A32 (Atomic) | Stores a byte with Release semantics if exclusive. |
| stlexd | STLEXD<c> <Rd>, <Rt>, <Rt2>, [<Rn>] | Store Excl | A32 (Atomic) | Stores a doubleword with Release semantics if exclusive. |
| stlexh | STLEXH<c> <Rd>, <Rt>, [<Rn>] | Store Excl | A32 (Atomic) | Stores a halfword with Release semantics if exclusive. |
| stlr | STLR <Wt>, [<Xn|SP>] | Load/Store | Base (Atomic) | Stores a word with Release semantics. |
| stlrb | STLRB <Wt>, [<Xn|SP>] | Load/Store | Base (Atomic) | Stores a byte with Release semantics. |
| stlrh | STLRH <Wt>, [<Xn|SP>] | Load/Store | Base (Atomic) | Stores a halfword with Release semantics. |
| stlxr | STLXR <Ws>, <Wt>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores a word with Release Exclusive semantics. |
| stlxrb | STLXRB <Ws>, <Wt>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores a byte with Release Exclusive semantics. |
| stlxrh | STLXRH <Ws>, <Wt>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores a halfword with Release Exclusive semantics. |
| stm | STM <Rn>!, <registers> | Thumb Store Multiple | T32 (Base) | Store multiple registers (Thumb 16-bit). |
| stm | STM<mode><c> <Rn>{!}, <registers> | Store Multiple | A32 (Base) | Stores multiple registers to memory. |
| stm.w | STM.W <Rn>{!}, <registers> | Thumb Store Multiple | T32 (Thumb2) | Thumb-2 32-bit Store Multiple. |
| stnp | STNP <Wt1>, <Wt2>, [<Xn|SP>, #<imm>] | Load/Store Pair | Base | Stores two registers, hinting non-temporal data. |
| stp | STP <St1|Dt1|Qt1>, <St2|Dt2|Qt2>, [<Xn|SP>, #<imm>] | Load/Store Pair | Floating Point | Stores two floating-point/SIMD registers. |
| stp | STP <Wt1>, <Wt2>, [<Xn|SP>, #<imm>] | Load/Store Pair | Base | Stores two 32-bit registers. |
| stp | STP <Xt1>, <Xt2>, [<Xn|SP>, #<imm>] | Load/Store Pair | Base | Stores two 64-bit registers. |
| str | STR <Bt|Ht|St|Dt|Qt>, [<Xn|SP>, #<pimm>] | Load/Store | Floating Point | Stores a floating-point/SIMD register to memory. |
| str | STR <Wt>, [<Xn|SP>, #<pimm>] | Load/Store Imm | Base | Stores a register to memory (Immediate offset). |
| str | STR <Wt>, [<Xn|SP>, <R><m> {, <extend> <amount>}] | Load/Store Reg | Base | Stores a register to memory (Register offset). |
| str | STR<c> <Rt>, [<Rn>, #+/-<imm>]{!} | Load/Store | A32 (Base) | Stores a word to memory. |
| str.w | STR.W <Rt>, [<Rn>, #<imm>] | Thumb Store | T32 (Thumb2) | Thumb-2 32-bit Store Word. |
| strb | STRB <Wt>, [<Xn|SP>, #<pimm>] | Load/Store | Base | Stores the low byte of a register. |
| strb | STRB <Wt>, [<Xn|SP>, <R><m> {, <extend> <amount>}] | Load/Store | Base | Stores the low byte of a register using register offset. |
| strb.w | STRB.W <Rt>, [<Rn>, #<imm>] | Thumb Store | T32 (Thumb2) | Thumb-2 32-bit Store Byte. |
| strbt | STRBT<c> <Rt>, [<Rn>, #+/-<imm>] | Load/Store | A32 (Base) | Stores a byte using User Mode permissions. |
| strd | STRD <Rt>, <Rt2>, [<Rn>, #+/-<imm>] | Thumb Store | A32 (Base) | Stores two words to memory (Thumb). |
| strex | STREX <Rd>, <Rt>, [<Rn>] | Thumb Store Excl | A32 (Atomic) | Stores word if exclusive monitor is open (Thumb). |
| strexb | STREXB<c> <Rd>, <Rt>, [<Rn>] | Load/Store Excl | A32 (Atomic) | Stores a byte if address is still exclusive. |
| strexb | STREXB <Rd>, <Rt>, [<Rn>] | Thumb Store Excl | A32 (Atomic) | Stores byte exclusively (Thumb). |
| strexd | STREXD<c> <Rd>, <Rt>, <Rt2>, [<Rn>] | Load/Store Excl | A32 (Atomic) | Stores a doubleword if address is still exclusive. |
| strexh | STREXH<c> <Rd>, <Rt>, [<Rn>] | Load/Store Excl | A32 (Atomic) | Stores a halfword if address is still exclusive. |
| strexh | STREXH <Rd>, <Rt>, [<Rn>] | Thumb Store Excl | A32 (Atomic) | Stores halfword exclusively (Thumb). |
| strh | STRH <Wt>, [<Xn|SP>, #<pimm>] | Load/Store | Base | Stores the low halfword of a register. |
| strh | STRH <Wt>, [<Xn|SP>, <R><m> {, <extend> <amount>}] | Load/Store | Base | Stores the low halfword of a register using register offset. |
| strh.w | STRH.W <Rt>, [<Rn>, #<imm>] | Thumb Store | T32 (Thumb2) | Thumb-2 32-bit Store Halfword. |
| strht | STRHT<c> <Rt>, [<Rn>, #+/-<imm>] | Load/Store | A32 (Base) | Stores a halfword using User Mode permissions. |
| strt | STRT<c> <Rt>, [<Rn>, #+/-<imm>] | Load/Store | A32 (Base) | Stores a word using User Mode permissions. |
| sttr | STTR <Wt>, [<Xn|SP>, #<simm>] | Load/Store | Base | Stores a register as if in EL0 (User mode). |
| sttrb | STTRB <Wt>, [<Xn|SP>, #<simm>] | Load/Store | Base | Stores a byte as if in EL0. |
| sttrh | STTRH <Wt>, [<Xn|SP>, #<simm>] | Load/Store | Base | Stores a halfword as if in EL0. |
| stur | STUR <Wt>, [<Xn|SP>, #<simm>] | Load/Store | Base | Stores a register using an unscaled immediate offset. |
| sturb | STURB <Wt>, [<Xn|SP>, #<simm>] | Load/Store | Base | Stores a byte using an unscaled immediate offset. |
| sturh | STURH <Wt>, [<Xn|SP>, #<simm>] | Load/Store | Base | Stores a halfword using an unscaled immediate offset. |
| stxp | STXP <Ws>, <Wt1>, <Wt2>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores two registers if exclusive monitor matches. |
| stxr | STXR <Ws>, <Wt>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores a word if exclusive monitor matches. |
| stxrb | STXRB <Ws>, <Wt>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores a byte if exclusive monitor matches. |
| stxrh | STXRH <Ws>, <Wt>, [<Xn|SP>] | Load/Store Excl | Base (Atomic) | Stores a halfword if exclusive monitor matches. |
| stz2g | STZ2G <Xt|SP>, [<Xn|SP>, #<simm>] | Load/Store | MTE (Memory Tagging) | Stores Tag and zeros memory for two granules. |
| stzg | STZG <Xt|SP>, [<Xn|SP>, #<simm>] | Load/Store | MTE (Memory Tagging) | Stores the Allocation Tag and zeros the data granule. |
| sub | SUB <Wd|Wsp>, <Wn|Wsp>, <Wm> {, <extend> {#<amount>}} | Data Processing | Base | Subtracts extended register from register. |
| sub | SUB <Wd|Wsp>, <Wn|Wsp>, #<imm> {, lsl #<shift>} | Data Processing | Base | Subtracts immediate from register. |
| sub | SUB <Wd>, <Wn>, <Wm> {, <shift> #<amount>} | Data Processing | Base | Subtracts shifted register from register. |
| sub | SUB <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Subtracts elements of Vm from Vn. |
| sub | SUB <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | SVE | Subtracts vector Zm from Zdn under predicate. |
| sub | SUB{S}<c> <Rd>, <Rn>, <Operand2> | Data Proc | A32 (Base) | Subtracts two values. |