ARM Instructions
1,361 instructions - showing 100 per page, page 11 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 |
|---|---|---|---|---|
| sub.w | SUB.W <Rd>, <Rn>, <Operand2> | Thumb2 Data Proc | T32 (Thumb2) | Thumb-2 32-bit subtract. |
| subg | SUBG <Xd|SP>, <Xn|SP>, #<uimm6>, #<uimm4> | Data Processing | MTE (Memory Tagging) | Subtracts an immediate from an address, modifying the Allocation Tag (MTE). |
| subhnb | SUBHNB <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 Math | SVE2 | Subtracts wide elements, narrows, and stores in bottom half. |
| subhnt | SUBHNT <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 Math | SVE2 | Subtracts wide elements, narrows, and stores in top half. |
| subp | SUBP <Xd>, <Xn|SP>, <Xm|SP> | Data Processing | MTE (Memory Tagging) | Subtracts pointers ignoring Tags. |
| subps | SUBPS <Xd>, <Xn|SP>, <Xm|SP> | Data Processing | MTE (Memory Tagging) | Subtracts pointers (ignoring tags) and sets condition flags. |
| subpt | SUBPT <Xd|SP>, <Xn|SP>, <Xm>{, LSL #<amount>} | Data Processing | FEAT_CPA (v9.5) | Subtracts offset from pointer with tag check (Checked Pointer Arithmetic). |
| subs | SUBS <Wd>, <Wn|Wsp>, <Wm> {, <extend> {#<amount>}} | Data Processing | Base | Subtracts extended register and updates flags. |
| subs | SUBS <Wd>, <Wn|Wsp>, #<imm> {, lsl #<shift>} | Data Processing | Base | Subtracts immediate and updates flags. |
| subs | SUBS <Wd>, <Wn>, <Wm> {, <shift> #<amount>} | Data Processing | Base | Subtracts shifted register and updates flags. |
| subs | SUBS PC, LR, #<imm> | Data Proc | A32 (Base) | Subs PC, LR, #imm (Exception return mechanism). |
| sudot | SUDOT <Vd>.<T>, <Vn>.<T>, <Vm>.<T>[<index>] | NEON 3-Reg | FEAT_I8MM (AI) | Dot product of Signed Int8 and Unsigned Int8 (Indexed). |
| sudot | SUDOT <Zda>.S, <Zn>.B, <Zm>.B[<imm>] | I8MM | I8MM | Signed-Unsigned Integer Dot Product. |
| sunpkhi | SUNPKHI <Zd>.<T>, <Zn>.<Tb> | SVE Permute | SVE | Unpacks and sign-extends upper half of vector elements. |
| sunpklo | SUNPKLO <Zd>.<T>, <Zn>.<Tb> | SVE Permute | SVE | Unpacks and sign-extends lower half of vector elements. |
| svc | SVC #<imm> | Exception | System | Causes a Supervisor Call exception (to EL1). |
| svc | SVC #<imm> | Thumb System | T32 (Thumb) | System Call (Thumb encoding). |
| svc | SVC<c> #<imm> | System | A32 (System) | System call (formerly SWI). |
| swp | SWP <Ws>, <Wt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic swap of a word. |
| swp | SWP <Xs>, <Xt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic swap of a doubleword. |
| sxtab | SXTAB<c> <Rd>, <Rn>, <Rm> {, <rotation>} | Data Proc | A32 (DSP) | Sign-extends a byte from Rm and adds to Rn. |
| sxtab16 | SXTAB16<c> <Rd>, <Rn>, <Rm> {, <rotation>} | Data Proc | A32 (DSP) | Sign-extends two bytes and adds to two halfwords. |
| sxtah | SXTAH<c> <Rd>, <Rn>, <Rm> {, <rotation>} | Data Proc | A32 (DSP) | Sign-extends a halfword and adds to Rn. |
| sxtb | SXTB <Rd>, <Rm> | Thumb Data Proc | T32 (Thumb) | Sign-extends byte to word (Thumb). |
| sxtb | SXTB<c> <Rd>, <Rm> {, <rotation>} | Data Proc | A32 (Base) | Sign-extends the low byte (8-bits) to 32-bits. |
| sxtb | SXTB <Wd>, <Wn> | Bitfield | Base | Extracts the lowest 8 bits and sign-extends to 32 bits (Alias for SBFM). |
| sxtb16 | SXTB16<c> <Rd>, <Rm> {, <rotation>} | Data Proc | A32 (DSP) | Sign-extends two bytes to two halfwords. |
| sxth | SXTH <Rd>, <Rm> | Thumb Data Proc | T32 (Thumb) | Sign-extends halfword to word (Thumb). |
| sxth | SXTH<c> <Rd>, <Rm> {, <rotation>} | Data Proc | A32 (Base) | Sign-extends the low halfword (16-bits) to 32-bits. |
| sxtw | SXTW <Xd>, <Wn> | Bitfield | Base | Sign-extends a 32-bit register to 64 bits (Alias for SBFM). |
| sys | SYS #<op1>, Cn, Cm, #<op2> {, <Xt>} | System | System | Executes a system instruction (cache/TLB maintenance). |
| tbb | TBB [<Rn>, <Rm>] | Thumb Branch | T32 (Thumb) | PC-relative branch using a table of bytes (Switch statements). |
| tbh | TBH [<Rn>, <Rm>, LSL #1] | Thumb Branch | T32 (Thumb) | PC-relative branch using a table of halfwords. |
| tbl | TBL <Vd>.<T>, { <Vn>.16B, ... }, <Vm>.<T> | SIMD Table | NEON (SIMD) | Look up elements in a table of vectors using indices. |
| tbl | TBL <Zd>.<T>, { <Zn>.<T> }, <Zm>.<T> | SVE Permute | SVE | Looks up elements in a vector table using indices. |
| tbnz | TBNZ <Wt|Xt>, #<imm>, <label> | Branch | Base | Branches if specified bit is 1. |
| tbx | TBX <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | SVE | Vector table extension (SVE version of TBX). |
| tbz | TBZ <Wt|Xt>, #<imm>, <label> | Branch | Base | Branches if specified bit is 0. |
| tcommit | TCOMMIT | System | TME (Transactional) | Commits the current transaction. |
| teq | TEQ<c> <Rn>, <Operand2> | Data Proc | A32 (Base) | Bitwise Exclusive OR and update flags (discard result). |
| teq.w | TEQ.W <Rn>, <Operand2> | Thumb2 Data Proc | T32 (Thumb2) | Thumb-2 32-bit Test Equivalence (XOR and update flags). |
| tlbi | TLBI VMALLE1IS | System | Base (System) | Invalidates all TLB entries in the inner shareable domain. |
| tlbi | TLBI VAE1, <Xt> | System | Base (System) | Invalidates TLB entries by Virtual Address. |
| tlbi | TLBI <op> {, <Xt>} | System Alias | System | Invalidates Translation Lookaside Buffer entries. |
| trcit | TRCIT <Xt> | System | Trace | Generates a trace packet. |
| trn1 | TRN1 <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Permute | NEON (SIMD) | Transposes elements (Lower). |
| trn1 | TRN1 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | SVE | Interleaves even elements from two vectors. |
| trn2 | TRN2 <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Permute | NEON (SIMD) | Transposes elements (Upper). |
| trn2 | TRN2 <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE Permute | SVE | Interleaves odd elements from two vectors. |
| tsb | TSB CSYNC | System Hint | A32 (Trace) | Ensures trace generation is complete (v8.2). |
| tsb | TSB CSYNC | System Hint | Trace | Ensures trace generation is complete. |
| tst | TST<c> <Rn>, <Operand2> | Data Proc | A32 (Base) | Bitwise AND and update flags (discard result). |
| tst.w | TST.W <Rn>, <Operand2> | Thumb2 Data Proc | T32 (Thumb2) | Thumb-2 32-bit Test (AND and update flags). |
| tstart | TSTART <Xd> | System | TME (Transactional) | Starts a memory transaction. Returns 0 if successful. |
| ttest | TTEST <Xd> | System | TME (Transactional) | Tests the transaction nesting depth. |
| uaba | UABA <Zda>.<T>, <Zn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Unsigned Absolute Difference Accumulate. |
| uabd | UABD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Unsigned Absolute Difference. |
| uadd16 | UADD16<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Parallel add of two unsigned 16-bit halfwords. |
| uadd8 | UADD8<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Parallel add of four unsigned 8-bit bytes. |
| uaddl | UADDL <Vd>.<Td>, <Vn>.<Ts>, <Vm>.<Ts> | SIMD Three Register Diff | NEON (SIMD) | Adds lower/upper halves of unsigned vectors, producing wider result. |
| uaddlb | UADDLB <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Unsigned Add Long (Bottom) |
| uaddlt | UADDLT <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Unsigned Add Long (Top) |
| uaddv | UADDV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | SVE | Sums all active unsigned elements into a scalar result. |
| uaddw | UADDW <Vd>.<Td>, <Vn>.<Td>, <Vm>.<Ts> | SIMD Three Register Diff | NEON (SIMD) | Adds a wide vector to the lower/upper half of a narrow vector (Unsigned). |
| ubfm | UBFM <Wd>, <Wn>, #<immr>, #<imms> | Bitfield | Base | Extracts/Inserts bitfield (Zero Extend). |
| ubfx | UBFX<c> <Rd>, <Rn>, #<lsb>, #<width> | Data Proc | A32 (Base) | Extracts bits from a register and zero-extends them. |
| ubfx | UBFX <Rd>, <Rn>, #<lsb>, #<width> | Thumb Bitfield | A32 (Base) | Extracts and zero-extends bits. |
| uclamp | UCLAMP <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE2.1 | SVE2p1 | Clamps unsigned integer elements between min and max (SVE2.1). |
| ucvtf | UCVTF <Zdn>.<T>, <Pg>/M, <Zdn>.<T> | SVE Conversion | SVE | Converts unsigned integers to floats. |
| ucvtf | UCVTF <Hd|Sd|Dd>, <Wn|Xn> {, #<fbits>} | FP Conversion | Floating Point | Converts unsigned integer (GPR) to floating-point. |
| ucvtf | UCVTF <Zd>.S, <Pg>/M, <Zn>.S | SVE | SVE | Unsigned Int to Float Conversion. |
| udf | UDF #<imm> | System | A32 (Base) | Permanently undefined instruction (generates Undefined Instruction exception). |
| udf | UDF #<imm> | Thumb System | T32 (Thumb) | Permanently undefined instruction (Thumb). |
| udiv | UDIV <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | SVE | Divides unsigned integers. |
| udiv | UDIV <Wd>, <Wn>, <Wm> | Data Processing | Base | Divides two unsigned registers. |
| udiv | UDIV <Rd>, <Rn>, <Rm> | Thumb Div | A32 (Base) | Unsigned integer division. |
| udiv | UDIV<c> <Rd>, <Rn>, <Rm> | Data Proc | A32 (Base) | Unsigned integer division. |
| udivr | UDIVR <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE | SVE | Unsigned Integer Divide Reverse. |
| udot | UDOT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE Dot Product | SVE | Computes dot product of unsigned integers. |
| udot | UDOT <Zda>.S, <Zn>.H, <Zm>.H | SVE Dot Product | SVE2p1 | Two-way unsigned dot product of 16-bit elements into 32-bit accumulators (SVE2p1 or SME2). |
| udot | UDOT <Vd>.4S, <Vn>.16B, <Vm>.16B | NEON DotProd | FEAT_DotProd | Dot product of unsigned integers (AArch64 NEON). |
| udot | UDOT ZA.<T>[<Wv>, <offs>{, VGx2}], { <Zn1>.<Tb>-<Zn2>.<Tb> }, <Zm>.<Tb> | SME2 DotProd | SME2 | Multi-vector unsigned dot product into ZA (SME2). |
| uhadd | UHADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Unsigned Halving Add. |
| uhadd16 | UHADD16<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Unsigned average of 2 halfwords. |
| uhadd8 | UHADD8<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Unsigned average of 4 bytes. |
| uhsub | UHSUB <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Unsigned Halving Subtract. |
| uhsub16 | UHSUB16<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Unsigned halving subtract of 2 halfwords. |
| uhsub8 | UHSUB8<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Unsigned halving subtract of 4 bytes. |
| umaal | UMAAL<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Calculates (Rn * Rm) + RdLo + RdHi -> 64-bit result. |
| umaddl | UMADDL <Xd>, <Wn>, <Wm>, <Xa> | Data Processing | Base | Multiplies two 32-bit regs, adds to 64-bit reg (Unsigned). |
| umax | UMAX <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | SVE | Determines maximum unsigned value per element. |
| umax | UMAX <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Returns larger unsigned integer per element. |
| umax | UMAX { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zm1>.<T>-<Zm2>.<T> } | SME2 Int | SME2 | Unsigned maximum of 2 or 4 vectors. |
| umaxp | UMAXP <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Unsigned Maximum Pairwise. |
| umaxv | UMAXV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | SVE | Finds max unsigned element in vector. |
| umin | UMIN <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | SVE | Determines minimum unsigned value per element. |
| umin | UMIN <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Returns smaller unsigned integer per element. |
| umin | UMIN { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zm1>.<T>-<Zm2>.<T> } | SME2 Int | SME2 | Unsigned minimum of 2 or 4 vectors. |
| uminp | UMINP <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Unsigned Minimum Pairwise. |
| uminv | UMINV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | SVE | Finds min unsigned element in vector. |