ARM Instructions
1,361 instructions - showing 100 per page, page 2 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 |
|---|---|---|---|---|
| bfmlalb | BFMLALB <Zda>.S, <Zn>.H, <Zm>.H | BF16 | BF16 | BFloat16 Multiply-Add Long (Bottom) |
| bfmlalt | BFMLALT <Zda>.S, <Zn>.H, <Zm>.H | BF16 | BF16 | BFloat16 Multiply-Add Long (Top) |
| bfmmla | BFMMLA <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | NEON 3-Reg | FEAT_BF16 (AI) | Performs 2x2 matrix multiplication on BFloat16 tiles (NEON). |
| bfmmla | BFMMLA <Zda>.S, <Zn>.H, <Zm>.H | BF16 | BF16 | BFloat16 Matrix Multiply-Add. |
| bfmul | BFMUL <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE BFloat16 | FEAT_SVE_B16B16 | Multiplies BFloat16 elements. |
| bfsub | BFSUB <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE BFloat16 | FEAT_SVE_B16B16 | Subtracts BFloat16 elements. |
| bgrp | BGRP <Zd>.<T>, <Zn>.<T>, <Zm>.<T> | SVE2 Bitwise | SVE2 | Groups bits from source based on mask (0s to left, 1s to right). |
| bic | BIC <Wd>, <Wn>, <Wm> {, <shift> #<amount>} | Logical (Register) | Base | ANDs register with NOT of shifted register (AND NOT). |
| bic | BIC <Xd>, <Xn>, <Xm> {, <shift> #<amount>} | Logical (Register) | Base | ANDs register with NOT of shifted register (64-bit). |
| bic | BIC <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | ANDs Vd with NOT of Vm. |
| bic | BIC <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T> | SVE Logic | SVE | Bitwise AND NOT of two vectors under predicate. |
| bic | BIC{S}<c> <Rd>, <Rn>, <Rm> {, <shift>} | Data Proc | A32 (Base) | Performs AND NOT (Rd = Rn & ~Rm). |
| bic.w | BIC.W <Rd>, <Rn>, <Operand2> | Thumb2 Data Proc | T32 (Thumb2) | Thumb-2 32-bit AND NOT. |
| bics | BICS <Wd>, <Wn>, <Wm> {, <shift> #<amount>} | Logical (Register) | Base | Performs BIC and updates flags. |
| bics | BICS <Xd>, <Xn>, <Xm> {, <shift> #<amount>} | Logical (Register) | Base | Performs BIC and updates flags (64-bit). |
| bics | BICS <Pd>.B, <Pg>/Z, <Pn>.B, <Pm>.B | SVE | SVE | Predicate Bitwise Clear (Set Flags) |
| bif | BIF <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Inserts bits from Vn into Vd where Vm (mask) is 0. |
| bit | BIT <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Inserts bits from Vn into Vd where Vm (mask) is 1. |
| bkpt | BKPT #<imm> | Thumb System | T32 (Thumb) | Software Breakpoint (Thumb encoding). |
| bkpt | BKPT #<imm> | System | A32 (Base) | Causes a software breakpoint. |
| bl | BL <label> | Branch | Base | Function call. Branches to label and stores return address in LR (X30). |
| bl | BL<c> <label> | Branch | A32 (Base) | Calls a subroutine, storing return address in LR (R14). |
| bl.w | BL.W <label> | Thumb Branch | T32 (Thumb2) | Thumb-2 32-bit Branch with Link. |
| blr | BLR <Xn> | Branch (Reg) | Base | Indirect function call. Branches to address in Xn and stores return in LR. |
| blx | BLX<c> <Rm> | Branch | A32 (Base) | Calls subroutine and optionally switches to Thumb state. |
| br | BR <Xn> | Branch (Reg) | Base | Indirect branch to address in Xn. |
| brb | BRB <op> | System | FEAT_BRBE (Debug) | Injects an entry into the Branch Record Buffer (Debug). |
| brk | BRK #<imm> | Exception | Base | Generates a Breakpoint instruction exception. |
| brka | BRKA <Pd>.B, <Pg>/Z, <Pn>.B | SVE Predicate | SVE | Sets predicates up to and including the first active element. |
| brkb | BRKB <Pd>.B, <Pg>/Z, <Pn>.B | SVE Predicate | SVE | Sets predicates up to (but excluding) the first active element. |
| brkn | BRKN <Pdm>.B, <Pg>/Z, <Pn>.B, <Pdm>.B | SVE | SVE | Break to Next Partition. |
| bsl | BSL <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Selects bits from Vn or Vm based on Vd (mask). (Vd = (Vd & Vn) | (~Vd & Vm)). |
| bsl | BSL <Zdn>.D, <Zdn>.D, <Zm>.D, <Zk>.D | SVE2 Bitwise | SVE2 | Bitwise select using (Zdn AND Zm) OR (NOT Zdn AND Zk). |
| bsl1n | BSL1N <Zdn>.D, <Zdn>.D, <Zm>.D, <Zk>.D | SVE2 Bitwise | SVE2 | Bitwise select with first operand inverted. |
| bsl2n | BSL2N <Zdn>.D, <Zdn>.D, <Zm>.D, <Zk>.D | SVE2 Bitwise | SVE2 | Bitwise select with second operand inverted. |
| bti | BTI <target> | System Hint | BTI (Security) | Marks a valid target for indirect branches (Guard against JOP/ROP). |
| bx | BX<c> <Rm> | Branch | A32 (Base) | Branches to address in register, optionally switching ISA. |
| bxj | BXJ<c> <Rm> | Branch | A32 (Legacy) | Legacy instruction to enter Jazelle state (Now behaves like BX). |
| cadd | CADD <Zdn>.<T>, <Zdn>.<T>, <Zm>.<T>, <const> | SVE2 Complex | SVE2 | Performs complex integer addition with rotation. |
| cas | CAS <Ws>, <Wt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic Compare and Swap (32-bit). |
| cas | CAS <Xs>, <Xt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic Compare and Swap (64-bit). |
| casa | CASA <Ws>, <Wt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic CAS with Acquire semantics. |
| casal | CASAL <Ws>, <Wt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic CAS with Acquire and Release semantics. |
| casl | CASL <Ws>, <Wt>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic CAS with Release semantics. |
| casp | CASP <Ws>, <W(s+1)>, <Wt>, <W(t+1)>, [<Xn|SP>] | Atomic | LSE (Atomics) | Atomic CAS of a pair of registers (128-bit or 64-bit pair). |
| cbnz | CBNZ <Wt>, <label> | Branch | Base | Branches if register is not zero. |
| cbnz | CBNZ <Xt>, <label> | Branch | Base | Branches if 64-bit register is not zero. |
| cbnz | CBNZ <Rn>, <label> | Thumb Branch | T32 (Thumb) | Branches to label if register is not zero (Thumb-only). |
| cbz | CBZ <Wt>, <label> | Branch | Base | Branches if register is zero. |
| cbz | CBZ <Xt>, <label> | Branch | Base | Branches if 64-bit register is zero. |
| cbz | CBZ <Rn>, <label> | Thumb Branch | T32 (Thumb) | Branches to label if register is zero (Thumb-only, does not affect flags). |
| ccmn | CCMN <Wn>, #<imm>, #<nzcv>, <cond> | Cond Comp | Base | Compares register with negative immediate if condition is true. |
| ccmn | CCMN <Xn>, #<imm>, #<nzcv>, <cond> | Cond Comp | Base | Compares 64-bit register with negative immediate if condition is true. |
| ccmn | CCMN <Wn>, <Wm>, #<nzcv>, <cond> | Cond Comp | Base | Compares two registers (negated) if condition is true. |
| ccmp | CCMP <Wn>, #<imm>, #<nzcv>, <cond> | Cond Comp | Base | Compares register with immediate if condition is true. |
| ccmp | CCMP <Wn>, <Wm>, #<nzcv>, <cond> | Cond Comp | Base | Compares two registers if condition is true. |
| cdot | CDOT <Zda>.<T>, <Zn>.<Tb>, <Zm>.<Tb>, <const> | SVE2 Complex | SVE2 | Computes complex integer dot product. |
| cdp | CDP<c> <coproc>, <opc1>, <CRd>, <CRn>, <CRm>, <opc2> | Coprocessor | A32 (System) | Initiates a coprocessor data processing operation. |
| cdp2 | CDP2<c> <coproc>, <opc1>, <CRd>, <CRn>, <CRm>, <opc2> | Coprocessor | A32 (System) | Initiates a coprocessor operation (Extension encoding). |
| cfinv | CFINV | System | FEAT_FlagM | Inverts the C (Carry) flag. |
| chkfeat | CHKFEAT X16 | System | FEAT_CHK | Check feature status (FEAT_CHK). |
| cinc | CINC <Wd>, <Wn>, <cond> | Cond Select | Base | Increment register if condition is true, else copy. (Alias for CSINC) |
| cinv | CINV <Wd>, <Wn>, <cond> | Cond Select | Base | Invert register bits if condition is true, else copy. (Alias for CSINV) |
| clasta | CLASTA <Rdn>, <Pg>, <Rdn>, <Zm>.<T> | SVE Extract | SVE | Extracts element after the last active element. |
| clastb | CLASTB <Rdn>, <Pg>, <Rdn>, <Zm>.<T> | SVE Extract | SVE | Extracts the last active element. |
| clrbhb | CLRBHB | System | System | Clear Branch History Buffer. |
| clrex | CLREX | Thumb System | A32 (Atomic) | Clears exclusive monitor (Thumb). |
| clrex | CLREX {#<imm>} | System | Base (Atomic) | Clears the local monitor state (AArch64 variant). |
| clrex | CLREX<c> | System | A32 (Base) | Clears the local exclusive access monitor. |
| cls | CLS <Wd>, <Wn> | Data Processing | Base | Counts number of consecutive sign bits. |
| cls | CLS <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | SVE | Count Leading Sign Bits. |
| clz | CLZ <Wd>, <Wn> | Data Processing | Base | Counts number of consecutive zeros. |
| clz | CLZ <Rd>, <Rm> | Thumb Misc | A32 (Base) | Counts consecutive zeros. |
| clz | CLZ<c> <Rd>, <Rm> | Data Proc | A32 (Base) | Counts the number of consecutive zeros from MSB. |
| clz | CLZ <Vd>.<T>, <Vn>.<T> | SIMD Two Register | NEON (SIMD) | Counts leading zeros for each element. |
| clz | CLZ <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | SVE | Count Leading Zeros. |
| cmeq | CMEQ <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Compares elements (Vn == Vm) and sets bits to all 1s or 0s. |
| cmge | CMGE <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Compares elements (Vn >= Vm). |
| cmgt | CMGT <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Compares elements (Vn > Vm) and sets bits to all 1s or 0s. |
| cmla | CMLA <Zda>.<T>, <Zn>.<T>, <Zm>.<T>, <const> | SVE2 Complex | SVE2 | Performs complex integer multiply-accumulate with rotation. |
| cmn | CMN <Wn>, #<imm> | Data Processing | Base | Adds register and immediate, updates flags (discard result). (Alias for ADDS) |
| cmn | CMN<c> <Rn>, <Rm> {, <shift>} | Data Proc | A32 (Base) | Adds two values and updates flags (discarding result). Same as ADDS with no destination. |
| cmn.w | CMN.W <Rn>, <Operand2> | Thumb2 Data Proc | T32 (Thumb2) | Thumb-2 32-bit Compare Negative (Add and update flags). |
| cmp | CMP <Wn>, #<imm> | Data Processing | Base | Subtracts immediate from register, updates flags (discard result). (Alias for SUBS) |
| cmp | CMP<c> <Rn>, <Rm> {, <shift>} | Data Proc | A32 (Base) | Subtracts two values and updates flags (discarding result). |
| cmp.w | CMP.W <Rn>, <Operand2> | Thumb2 Data Proc | T32 (Thumb2) | Thumb-2 32-bit Compare (Subtract and update flags). |
| cmpeq | CMPEQ <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE Compare | SVE | Sets predicate bits where elements are equal. |
| cmpge | CMPGE <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE | SVE | Integer Compare Greater Equal. |
| cmpgt | CMPGT <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE Compare | SVE | Sets predicate bits where Zn > Zm. |
| cmpne | CMPNE <Pd>.<T>, <Pg>/Z, <Zn>.<T>, <Zm>.<T> | SVE | SVE | Integer Compare Not Equal. |
| cmtst | CMTST <Vd>.<T>, <Vn>.<T>, <Vm>.<T> | SIMD Three Register | NEON (SIMD) | Tests if any bits match ((Vn & Vm) != 0). |
| cneg | CNEG <Wd>, <Wn>, <cond> | Cond Select | Base | Negate register if condition is true, else copy. (Alias for CSNEG) |
| cnot | CNOT <Zd>.<T>, <Pg>/M, <Zn>.<T> | SVE | SVE | Logical Negate (Condition) |
| cnt | CNT <Vd>.<T>, <Vn>.<T> | SIMD Two Register | NEON (SIMD) | Counts set bits (population count) per byte. |
| cnt | CNT <Wd>, <Wn> | CSSC | CSSC | Population Count (Scalar) |
| cntb | CNTB <Xd>{, <pattern>{, MUL #<imm>}} | SVE | SVE | Count Bytes in Vector. |
| cntd | CNTD <Xd>{, <pattern>{, MUL #<imm>}} | SVE | SVE | Count Doublewords in Vector. |
| cnth | CNTH <Xd>{, <pattern>{, MUL #<imm>}} | SVE | SVE | Count Halfwords in Vector. |
| cntp | CNTP <Xn>, <Pg>, <Pn>.<T> | SVE Count | SVE | Counts the number of true elements in a predicate. |
| cntw | CNTW <Xd>{, <pattern>{, MUL #<imm>}} | SVE | SVE | Count Words in Vector. |