ARM Instructions
1,361 instructions - showing 100 per page, page 9 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 |
|---|---|---|---|---|
| sha1m | SHA1M <Qd>, <Sn>, <Vm>.<T> | Crypto | Crypto | SHA1 hash update (Majority function). |
| sha1p | SHA1P.32 <Qd>, <Qn>, <Qm> | Crypto 3-Reg | Crypto | SHA1 hash update (Parity). |
| sha1p | SHA1P <Qd>, <Sn>, <Vm>.<T> | Crypto | Crypto | SHA1 hash update (Parity function). |
| sha256h | SHA256H.32 <Qd>, <Qn>, <Qm> | Crypto 3-Reg | Crypto | SHA256 hash update (part 1). |
| sha256h | SHA256H <Qd>, <Qn>, <Vm>.4S | Crypto | Crypto | SHA256 hash part 1 (AArch64 NEON). |
| sha256h2 | SHA256H2.32 <Qd>, <Qn>, <Qm> | Crypto 3-Reg | Crypto | SHA256 hash update (part 2). |
| sha256h2 | SHA256H2 <Qd>, <Qn>, <Vm>.4S | Crypto | Crypto | SHA256 hash part 2 (AArch64 NEON). |
| sha256su0 | SHA256SU0.32 <Qd>, <Qm> | Crypto 2-Reg | Crypto | SHA256 schedule update instruction 0. |
| sha256su1 | SHA256SU1.32 <Qd>, <Qn>, <Qm> | Crypto 3-Reg | Crypto | SHA256 schedule update instruction 1. |
| sha512h | SHA512H <Qd>, <Qn>, <Vm>.2D | Crypto 3-Reg | Crypto (SHA512) | SHA512 hash update part 1. |
| sha512h2 | SHA512H2 <Qd>, <Qn>, <Vm>.2D | Crypto 3-Reg | Crypto (SHA512) | SHA512 hash update part 2. |
| sha512su0 | SHA512SU0 <Vd>.2D, <Vn>.2D | Crypto 2-Reg | Crypto (SHA512) | SHA512 schedule update instruction 0. |
| sha512su1 | SHA512SU1 <Vd>.2D, <Vn>.2D, <Vm>.2D | Crypto 3-Reg | Crypto (SHA512) | SHA512 schedule update instruction 1. |
| shadd | SHADD <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Halving Add. |
| shadd16 | SHADD16<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Signed add and halving (average) of 2 halfwords. |
| shadd8 | SHADD8<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Signed add and halving (average) of 4 bytes. |
| shl | SHL <Vd>.<T>, <Vn>.<T>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Shifts elements left by immediate value. |
| shll | SHLL <Vd>.<Td>, <Vn>.<Ts>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Shifts narrow vector left, extending to wide result. |
| shrn | SHRN <Vd>.<Tb>, <Vn>.<Ta>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Shifts wide vector right, narrowing to destination (Upper/Lower). |
| shrnb | SHRNB <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Shift Right Narrow (Bottom) |
| shrnt | SHRNT <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Shift Right Narrow (Top) |
| shsub | SHSUB <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Halving Subtract. |
| shsub16 | SHSUB16<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Signed subtract and halving of 2 halfwords. |
| shsub8 | SHSUB8<c> <Rd>, <Rn>, <Rm> | SIMD Integer | A32 (DSP) | Signed subtract and halving of 4 bytes. |
| sli | SLI <Vd>.<T>, <Vn>.<T>, #<shift> | SIMD Shift Imm | NEON (SIMD) | Shifts source left and inserts into destination. |
| sm3partw1 | SM3PARTW1 <Vd>.4S, <Vn>.4S, <Vm>.4S | Crypto 3-Reg | Crypto (SM3) | SM3 schedule update part 1. |
| sm3partw2 | SM3PARTW2 <Vd>.4S, <Vn>.4S, <Vm>.4S | Crypto 3-Reg | Crypto (SM3) | SM3 schedule update part 2. |
| sm3ss1 | SM3SS1 <Vd>.4S, <Vn>.4S, <Vm>.4S, <Va>.4S | Crypto 3-Reg | Crypto (SM3) | SM3 cryptographic hash step 1. |
| sm3tt1a | SM3TT1A <Vd>.4S, <Vn>.4S, <Vm>.S[<imm2>] | Crypto Imm | Crypto (SM3) | SM3 cryptographic hash step 2A. |
| sm3tt1b | SM3TT1B <Vd>.4S, <Vn>.4S, <Vm>.S[<imm2>] | Crypto Imm | Crypto (SM3) | SM3 cryptographic hash step 2B. |
| sm3tt2a | SM3TT2A <Vd>.4S, <Vn>.4S, <Vm>.S[<imm2>] | Crypto Imm | Crypto (SM3) | SM3 cryptographic hash step 3A. |
| sm3tt2b | SM3TT2B <Vd>.4S, <Vn>.4S, <Vm>.S[<imm2>] | Crypto Imm | Crypto (SM3) | SM3 cryptographic hash step 3B. |
| sm4e | SM4E <Vd>.4S, <Vn>.4S | Crypto 2-Reg | Crypto (SM4) | SM4 encryption step. |
| sm4ekey | SM4EKEY <Zd>.S, <Zn>.S, <Zm>.S | SVE2 Crypto | SVE2 | SM4 key-schedule step on each 128-bit segment of a scalable vector (SVE2). |
| sm4ekey | SM4EKEY <Vd>.4S, <Vn>.4S, <Vm>.4S | Crypto | Crypto | SM4 Key Generation. |
| smaddl | SMADDL <Xd>, <Wn>, <Wm>, <Xa> | Data Processing | Base | Multiplies two 32-bit registers, adds to 64-bit register (64-bit result). |
| smax | SMAX <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | SVE | Determines maximum signed value per element. |
| smax | SMAX <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Returns larger signed integer per element. |
| smax | SMAX { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zm1>.<T>-<Zm2>.<T> } | SME2 Int | SME2 | Signed maximum of 2 or 4 vectors. |
| smaxp | SMAXP <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Maximum Pairwise. |
| smaxv | SMAXV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | SVE | Finds max signed element in vector. |
| smaxv | SMAXV <V><d>, <Vn>.<T> | SIMD Across Lane | NEON (SIMD) | Finds the maximum signed value across the vector. |
| smc | SMC<c> #<imm> | System | A32 (System) | Calls the Secure Monitor (EL3). |
| smc | SMC #<imm> | Thumb System | A32 (Security) | Calls the Secure Monitor (EL3) from Thumb state. |
| smin | SMIN <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Integer Binary | SVE | Determines minimum signed value per element. |
| smin | SMIN <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Returns smaller signed integer per element. |
| smin | SMIN { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zm1>.<T>-<Zm2>.<T> } | SME2 Int | SME2 | Signed minimum of 2 or 4 vectors. |
| sminp | SMINP <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Minimum Pairwise. |
| sminv | SMINV <Vd>, <Pg>, <Zn>.<T> | SVE Reduction | SVE | Finds min signed element in vector. |
| smlabb | SMLABB<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Accumulates (Rn.B * Rm.B) into Ra. |
| smlabt | SMLABT<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Accumulates (Rn.B * Rm.T) into Ra. |
| smlad | SMLAD{X}<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Dual multiply add + accumulate. |
| smlal | SMLAL <RdLo>, <RdHi>, <Rn>, <Rm> | Thumb Mul | A32 (Base) | Signed Multiply Accumulate (64-bit result). |
| smlal | SMLAL <Vd>.<Td>, <Vn>.<Ts>, <Vm>.<Ts> | SIMD Three Register Diff | NEON (SIMD) | Multiplies signed narrow vectors and adds to wide destination. |
| smlalbb | SMLALBB<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Accumulates (Rn.B * Rm.B) into 64-bit pair. |
| smlalbt | SMLALBT<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Accumulates (Rn.B * Rm.T) into 64-bit pair. |
| smlald | SMLALD{X}<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Dual multiply add + 64-bit accumulate. |
| smlaltb | SMLALTB<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Accumulates (Rn.T * Rm.B) into 64-bit pair. |
| smlaltt | SMLALTT<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Accumulates (Rn.T * Rm.T) into 64-bit pair. |
| smlatb | SMLATB<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Accumulates (Rn.T * Rm.B) into Ra. |
| smlatt | SMLATT<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Accumulates (Rn.T * Rm.T) into Ra. |
| smlawb | SMLAWB<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Performs SMULWB and adds to accumulator. |
| smlawt | SMLAWT<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Performs SMULWT and adds to accumulator. |
| smlsd | SMLSD{X}<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | Dual multiply subtract + accumulate. |
| smlsld | SMLSLD{X}<c> <RdLo>, <RdHi>, <Rn>, <Rm> | Multiply | A32 (DSP) | Dual multiply subtract + 64-bit accumulate. |
| smmla | SMMLA <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | NEON 3-Reg | FEAT_I8MM (AI) | Performs 2x2 matrix multiplication on Signed Int8 tiles. |
| smmla | SMMLA{R}<c> <Rd>, <Rn>, <Rm>, <Ra> | Multiply | A32 (DSP) | SMMUL + Accumulate. |
| smmul | SMMUL{R}<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies and returns the top 32-bits of the 64-bit result. |
| smstart | SMSTART {<option>} | SME Control | SME | Enables Streaming SVE (SS) and ZA storage (Matrix mode). |
| smstop | SMSTOP {<option>} | SME Control | SME | Disables Streaming SVE and/or ZA storage. |
| smsubl | SMSUBL <Xd>, <Wn>, <Wm>, <Xa> | Data Processing | Base | Calculates (Xa - (Wn * Wm)) (64-bit result). |
| smuad | SMUAD{X}<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Performs two 16x16 multiplies and adds results (Top*Top + Bot*Bot). |
| smulbb | SMULBB<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies bottom 16 bits of Rn and Rm. |
| smulbt | SMULBT<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies bottom 16 bits of Rn and top 16 bits of Rm. |
| smulh | SMULH <Xd>, <Xn>, <Xm> | Data Processing | Base | Multiplies two 64-bit registers, keeps high 64 bits. |
| smulh | SMULH <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Multiply High. |
| smull | SMULL <RdLo>, <RdHi>, <Rn>, <Rm> | Thumb Mul | A32 (Base) | Signed Multiply (64-bit result). |
| smull | SMULL <Vd>.<Td>, <Vn>.<Ts>, <Vm>.<Ts> | SIMD Three Register Diff | NEON (SIMD) | Multiplies signed narrow vectors, producing wider result. |
| smullb | SMULLB <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Multiply Long (Bottom) |
| smullt | SMULLT <Zd>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Multiply Long (Top) |
| smultb | SMULTB<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies top 16 bits of Rn and bottom 16 bits of Rm. |
| smultt | SMULTT<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies top 16 bits of Rn and top 16 bits of Rm. |
| smulwb | SMULWB<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies 32-bit Rn by bottom 16-bits of Rm, takes top 32-bits of result. |
| smulwt | SMULWT<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Multiplies 32-bit Rn by top 16-bits of Rm, takes top 32-bits of result. |
| smusd | SMUSD{X}<c> <Rd>, <Rn>, <Rm> | Multiply | A32 (DSP) | Performs two 16x16 multiplies and subtracts results. |
| splice | SPLICE <Zdn>.<T>, <Pg>, <Zdn>.<T>, <Zm>.<T> | SVE Permute | SVE | Splices two vectors based on the last active element of the first. |
| sqabs | SQABS <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE2 | SVE2 | Signed Saturating Absolute. |
| sqadd | SQADD <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Adds signed integers with saturation. |
| sqadd | SQADD <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE2 | SVE2 | Signed Saturating Add. |
| sqdmlalb | SQDMLALB <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Saturating Doubling Multiply-Add Long (Bottom) |
| sqdmlalbt | SQDMLALBT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 Math | SVE2 | Complex integer multiply-accumulate. |
| sqdmlalt | SQDMLALT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Saturating Doubling Multiply-Add Long (Top) |
| sqdmlslb | SQDMLSLB <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Saturating Doubling Multiply-Subtract Long (Bottom) |
| sqdmlslt | SQDMLSLT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb> | SVE2 | SVE2 | Signed Saturating Doubling Multiply-Subtract Long (Top) |
| sqdmulh | SQDMULH { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zdn1>.<T>-<Zdn2>.<T> }, { <Zm1>.<T>-<Zm2>.<T> } | SME2 Int | SME2 | Saturating doubling multiply high on 2 or 4 vectors. |
| sqneg | SQNEG <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE2 | SVE2 | Signed Saturating Negate. |
| sqrdmulh | SQRDMULH <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE2 Integer Binary | SVE2 | Multiplies, doubles, rounds, and returns high half (Fixed point math). |
| sqrshl | SQRSHL <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE2 Shift | SVE2 | Saturating, rounding left shift by vector. |
| sqrshrnb | SQRSHRNB <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Rounding Shift Right Narrow (Bottom) |
| sqrshrnt | SQRSHRNT <Zd>.<T>, <Zn>.<Tb>, #<const> | SVE2 | SVE2 | Signed Saturating Rounding Shift Right Narrow (Top) |