This forum was built by humans, for humans. AI was used exclusively for security auditing. The forum officially launched on November 24, 2026. Read more

romdump.net
romdump.net › Forum › Silicon & Architectures › A64 base instruction index: 537 entries

Writeup A64 base instruction index: 537 entries

started by admin

admin admin admingod mode Posts 116
Rep 505
Joined Nov 2026
2d ago OP #48

A64 base instruction index, 537 entries

Part of the AArch64 reference index series.

The A64 base set: everything that isn't SIMD/FP, SVE or SME. This is what compiled C looks like on any 64-bit Arm target, and it's the set you'll spend most of your time in when reversing firmware, bootloaders or a stripped .so.

A few properties worth holding in your head before you read the table:

Fixed 32-bit encodings, aligned. Every instruction is exactly four bytes. Finding an instruction boundary means scanning forward four bytes at a time from a known base, which is why ADRP-relative address computation and literal loads are so useful as anchors when you're carving code out of a blob.

Load/store architecture. Arithmetic operates on registers only. Memory is touched by LDR/STR and the pair forms LDP/STP. A function prologue is almost always STP x29, x30, [sp, #-0xN]!, that's your best "am I at a function entry" signal.

31 general registers, plus SP and ZR. X0-X30 are 64-bit, W0-W30 are the low halves. Writing a W register zero-extends into the X register; there is no partial write of the upper half. Register 31 is SP or ZR depending on the instruction, a source of real confusion when reading pseudocode.

Conditional select beats branching. CSEL, CSINC, CSINV, CSNEG compile from ternaries without a branch. Combined with CSET/CINC (which are aliases, not real opcodes), a lot of short if/else collapses into straight-line code.

Aliases are everywhere. MOV, CMP, TST, NEG, LSL, several of these are not encodings at all. MOV Xd, Xn is ORR Xd, XZR, Xn; CMP is SUBS with the result discarded. When a disassembler and a debugger disagree about what's at an address, this is usually why.

What follows is the full list, alphabetically, by mnemonic family. Sign-extension variants (SXTW, SXTB), the *S flag-setting variants and the addressing-mode variants each get their own row, because that's how the encodings differ.

Index, 537 entries

A

NameDescription
ABSAbsolute value
ADCAdd with carry
ADCSAdd with carry, setting flags
ADD (extended register)Add extended and scaled register
ADD (immediate)Add immediate value
ADD (shifted register)Add optionally-shifted register
ADDGAdd with tag
ADDPTAdd checked pointer
ADDS (extended register)Add extended and scaled register, setting flags
ADDS (immediate)Add immediate value, setting flags
ADDS (shifted register)Add optionally-shifted register, setting flags
ADRForm PC-relative address
ADRPForm PC-relative address to 4KB page
AND (immediate)Bitwise AND (immediate)
AND (shifted register)Bitwise AND (shifted register)
ANDS (immediate)Bitwise AND (immediate), setting flags
ANDS (shifted register)Bitwise AND (shifted register), setting flags
APASAssociate physical address space: an alias of SYS
ASR (immediate)Arithmetic shift right (immediate): an alias of SBFM
ASR (register)Arithmetic shift right (register): an alias of ASRV
ASRVArithmetic shift right variable
ATAddress translate: an alias of SYS
AUTDA, AUTDZAAuthenticate data address, using key A
AUTDB, AUTDZBAuthenticate data address, using key B
AUTIA, AUTIA1716, AUTIASP, AUTIAZ, AUTIZAAuthenticate instruction address, using key A
AUTIA171615Authenticate instruction address, using key A
AUTIASPPCAuthenticate return address using key A, using an immediate offset
AUTIASPPCRAuthenticate return address using key A, using a register
AUTIB, AUTIB1716, AUTIBSP, AUTIBZ, AUTIZBAuthenticate instruction address, using key B
AUTIB171615Authenticate instruction address, using key B
AUTIBSPPCAuthenticate return address using key B, using an immediate offset
AUTIBSPPCRAuthenticate return address using key B, using a register
AXFLAGConvert floating-point condition flags from Arm to external format

B

NameDescription
BBranch
B.condBranch conditionally
BC.condBranch consistent conditionally
BFCBitfield clear: an alias of BFM
BFIBitfield insert: an alias of BFM
BFMBitfield move
BFXILBitfield extract and insert at low end: an alias of BFM
BIC (shifted register)Bitwise bit clear (shifted register)
BICS (shifted register)Bitwise bit clear (shifted register), setting flags
BLBranch with link
BLRBranch with link to register
BLRAA, BLRAAZ, BLRAB, BLRABZBranch with link to register, with pointer authentication
BRBranch to register
BRAA, BRAAZ, BRAB, BRABZBranch to register, with pointer authentication
BRBBranch record buffer: an alias of SYS
BRKBreakpoint instruction
BTIBranch target identification

C

NameDescription
CAS, CASA, CASAL, CASLCompare and swap word or doubleword in memory
CASB, CASAB, CASALB, CASLBCompare and swap byte in memory
CASH, CASAH, CASALH, CASLHCompare and swap halfword in memory
CASP, CASPA, CASPAL, CASPLCompare and swap pair of words or doublewords in memory
CASPT, CASPAT, CASPALT, CASPLTCompare and swap pair unprivileged
CAST, CASAT, CASALT, CASLTCompare and swap unprivileged
CB<cc> (immediate)Compare register with immediate and branch
CB<cc> (register)Compare registers and branch
CBB<cc>Compare bytes and branch
CBBLECompare signed less than or equal to bytes and branch: an alias of CBB
CBBLOCompare unsigned lower than bytes and branch: an alias of CBB
CBBLSCompare unsigned lower than or same as bytes and branch: an alias of CBB
CBBLTCompare signed less than bytes and branch: an alias of CBB
CBGE (immediate)Compare signed greater than or equal to immediate and branch: an alias of CB (immediate)
CBH<cc>Compare halfwords and branch
CBHLECompare signed less than or equal to halfwords and branch: an alias of CBH
CBHLOCompare unsigned lower than halfwords and branch: an alias of CBH
CBHLSCompare unsigned lower than or same as halfwords and branch: an alias of CBH
CBHLTCompare signed less than halfwords and branch: an alias of CBH
CBHS (immediate)Compare unsigned higher than or same as immediate and branch: an alias of CB (immediate)
CBLE (immediate)Compare signed less than or equal to immediate and branch: an alias of CB (immediate)
CBLE (register)Compare signed less than or equal to register and branch: an alias of CB (register)
CBLO (register)Compare unsigned lower than register and branch: an alias of CB (register)
CBLS (immediate)Compare unsigned lower than or same as immediate and branch: an alias of CB (immediate)
CBLS (register)Compare unsigned lower than or same as register and branch: an alias of CB (register)
CBLT (register)Compare signed less than register and branch: an alias of CB (register)
CBNZCompare and branch on nonzero
CBZCompare and branch on zero
CCMN (immediate)Conditional compare negative (immediate)
CCMN (register)Conditional compare negative (register)
CCMP (immediate)Conditional compare (immediate)
CCMP (register)Conditional compare (register)
CFINVInvert carry flag
CFLT<cc> (immediate)Compare register with immediate and fault
CFLT<cc> (register)Compare registers and fault
CFLTGE (immediate)Compare signed greater than or equal to immediate and fault: an alias of CFLT (immediate)
CFLTHS (immediate)Compare unsigned higher than or same as immediate and fault: an alias of CFLT (immediate)
CFLTLE (immediate)Compare signed less than or equal to immediate and fault: an alias of CFLT (immediate)
CFLTLE (register)Compare registers and fault if less than or equal: an alias of CFLT (register)
CFLTLO (register)Compare registers and fault if lower: an alias of CFLT (register)
CFLTLS (immediate)Compare unsigned lower than or same as immediate and fault: an alias of CFLT (immediate)
CFLTLS (register)Compare registers and fault if lower than or same: an alias of CFLT (register)
CFLTLT (register)Compare registers and fault if less than: an alias of CFLT (register)
CFLTNZCompare and fault on nonzero: an alias of CFLT (immediate)
CFLTZCompare and fault on zero: an alias of CFLT (immediate)
CFPControl flow prediction restriction by context: an alias of SYS
CHKFEATCheck feature status
CINCConditional increment: an alias of CSINC
CINVConditional invert: an alias of CSINV
CLRBHBClear branch history
CLREXClear exclusive
CLSCount leading sign bits
CLZCount leading zeros
CMN (extended register)Compare negative (extended register): an alias of ADDS (extended register)
CMN (immediate)Compare negative (immediate): an alias of ADDS (immediate)
CMN (shifted register)Compare negative (shifted register): an alias of ADDS (shifted register)
CMP (extended register)Compare (extended register): an alias of SUBS (extended register)
CMP (immediate)Compare (immediate): an alias of SUBS (immediate)
CMP (shifted register)Compare (shifted register): an alias of SUBS (shifted register)
CMPPCompare with tag: an alias of SUBPS
CNEGConditional negate: an alias of CSNEG
CNTCount bits
COSPClear other speculative prediction restriction by context: an alias of SYS
CPPCache prefetch prediction restriction by context: an alias of SYS
CPYFP, CPYFM, CPYFEMemory copy forward-only
CPYFPN, CPYFMN, CPYFENMemory copy forward-only, reads and writes non-temporal
CPYFPRN, CPYFMRN, CPYFERNMemory copy forward-only, reads non-temporal
CPYFPRT, CPYFMRT, CPYFERTMemory copy forward-only, reads unprivileged
CPYFPRTN, CPYFMRTN, CPYFERTNMemory copy forward-only, reads unprivileged, reads and writes non-temporal
CPYFPRTRN, CPYFMRTRN, CPYFERTRNMemory copy forward-only, reads unprivileged and non-temporal
CPYFPRTWN, CPYFMRTWN, CPYFERTWNMemory copy forward-only, reads unprivileged, writes non-temporal
CPYFPT, CPYFMT, CPYFETMemory copy forward-only, reads and writes unprivileged
CPYFPTN, CPYFMTN, CPYFETNMemory copy forward-only, reads and writes unprivileged and non-temporal
CPYFPTRN, CPYFMTRN, CPYFETRNMemory copy forward-only, reads and writes unprivileged, reads non-temporal
CPYFPTWN, CPYFMTWN, CPYFETWNMemory copy forward-only, reads and writes unprivileged, writes non-temporal
CPYFPWN, CPYFMWN, CPYFEWNMemory copy forward-only, writes non-temporal
CPYFPWT, CPYFMWT, CPYFEWTMemory copy forward-only, writes unprivileged
CPYFPWTN, CPYFMWTN, CPYFEWTNMemory copy forward-only, writes unprivileged, reads and writes non-temporal
CPYFPWTRN, CPYFMWTRN, CPYFEWTRNMemory copy forward-only, writes unprivileged, reads non-temporal
CPYFPWTWN, CPYFMWTWN, CPYFEWTWNMemory copy forward-only, writes unprivileged and non-temporal
CPYP, CPYM, CPYEMemory copy
CPYPN, CPYMN, CPYENMemory copy, reads and writes non-temporal
CPYPRN, CPYMRN, CPYERNMemory copy, reads non-temporal
CPYPRT, CPYMRT, CPYERTMemory copy, reads unprivileged
CPYPRTN, CPYMRTN, CPYERTNMemory copy, reads unprivileged, reads and writes non-temporal
CPYPRTRN, CPYMRTRN, CPYERTRNMemory copy, reads unprivileged and non-temporal
CPYPRTWN, CPYMRTWN, CPYERTWNMemory copy, reads unprivileged, writes non-temporal
CPYPT, CPYMT, CPYETMemory copy, reads and writes unprivileged
CPYPTN, CPYMTN, CPYETNMemory copy, reads and writes unprivileged and non-temporal
CPYPTRN, CPYMTRN, CPYETRNMemory copy, reads and writes unprivileged, reads non-temporal
CPYPTWN, CPYMTWN, CPYETWNMemory copy, reads and writes unprivileged, writes non-temporal
CPYPWN, CPYMWN, CPYEWNMemory copy, writes non-temporal
CPYPWT, CPYMWT, CPYEWTMemory copy, writes unprivileged
CPYPWTN, CPYMWTN, CPYEWTNMemory copy, writes unprivileged, reads and writes non-temporal
CPYPWTRN, CPYMWTRN, CPYEWTRNMemory copy, writes unprivileged, reads non-temporal
CPYPWTWN, CPYMWTWN, CPYEWTWNMemory copy, writes unprivileged and non-temporal
CRC32B, CRC32H, CRC32W, CRC32XCRC32 checksum
CRC32CB, CRC32CH, CRC32CW, CRC32CXCRC32C checksum
CSDBConsumption of speculative data barrier
CSELConditional select
CSETConditional set: an alias of CSINC
CSETMConditional set mask: an alias of CSINV
CSINCConditional select increment
CSINVConditional select invert
CSNEGConditional select negation
CTZCount trailing zeros

D

NameDescription
DCData cache operation: an alias of SYS
DCPS1Debug change PE state to EL1
DCPS2Debug change PE state to EL2
DCPS3Debug change PE state to EL3
DGHData gathering hint
DMBData memory barrier
DRPSDebug restore PE state
DSBData synchronization barrier
DVPData value prediction restriction by context: an alias of SYS

E

NameDescription
EON (shifted register)Bitwise exclusive-OR NOT (shifted register)
EOR (immediate)Bitwise exclusive-OR (immediate)
EOR (shifted register)Bitwise exclusive-OR (shifted register)
ERETException return
ERETAA, ERETABException return, with pointer authentication
ESBError synchronization barrier
EXTRExtract register

F

NameDescription
FLT.condConditional fault

G

NameDescription
GCSBGuarded Control Stack barrier
GCSPOPCXGuarded Control Stack pop and compare exception return record: an alias of SYS
GCSPOPMGuarded Control Stack pop: an alias of SYSL
GCSPOPXGuarded Control Stack pop exception return record: an alias of SYS
GCSPUSHMGuarded Control Stack push: an alias of SYS
GCSPUSHXGuarded Control Stack push exception return record: an alias of SYS
GCSSS1Guarded Control Stack switch stack 1: an alias of SYS
GCSSS2Guarded Control Stack switch stack 2: an alias of SYSL
GCSSTRGuarded Control Stack store register
GCSSTTRGuarded Control Stack store register (unprivileged)
GICGeneric Interrupt Controller: an alias of SYS
GICRGeneric Interrupt Controller with result: an alias of SYSL
GMITag mask insert
GSBGeneric Interrupt Controller synchronization barrier: an alias of SYS

H

NameDescription
HINTHint instruction
HINTEHint instruction (extended)
HLTHalt instruction
HVCHypervisor call

I

NameDescription
ICInstruction cache operation: an alias of SYS
IRGInsert random tag
ISBInstruction synchronization barrier

L

NameDescription
LD64BSingle-copy atomic 64-byte load
LDA64BSingle-copy atomic 64-byte load-acquire
LDADD, LDADDA, LDADDAL, LDADDLAtomic add on word or doubleword
LDADDB, LDADDAB, LDADDALB, LDADDLBAtomic add on byte
LDADDH, LDADDAH, LDADDALH, LDADDLHAtomic add on halfword
LDAPLoad-acquire pair of registers
LDAPPLoad-acquire RCpc pair of registers
LDAPRLoad-acquire RCpc register
LDAPRBLoad-acquire RCpc register byte
LDAPRHLoad-acquire RCpc register halfword
LDAPURLoad-acquire RCpc register (unscaled)
LDAPURBLoad-acquire RCpc register byte (unscaled)
LDAPURHLoad-acquire RCpc register halfword (unscaled)
LDAPURSBLoad-acquire RCpc register signed byte (unscaled)
LDAPURSHLoad-acquire RCpc register signed halfword (unscaled)
LDAPURSWLoad-acquire RCpc register signed word (unscaled)
LDARLoad-acquire register
LDARBLoad-acquire register byte
LDARHLoad-acquire register halfword
LDATXRLoad-acquire unprivileged exclusive register
LDAXPLoad-acquire exclusive pair of registers
LDAXRLoad-acquire exclusive register
LDAXRBLoad-acquire exclusive register byte
LDAXRHLoad-acquire exclusive register halfword
LDCLR, LDCLRA, LDCLRAL, LDCLRLAtomic bit clear on word or doubleword
LDCLRB, LDCLRAB, LDCLRALB, LDCLRLBAtomic bit clear on byte
LDCLRH, LDCLRAH, LDCLRALH, LDCLRLHAtomic bit clear on halfword
LDCLRP, LDCLRPA, LDCLRPAL, LDCLRPLAtomic bit clear on quadword
LDEOR, LDEORA, LDEORAL, LDEORLAtomic exclusive-OR on word or doubleword
LDEORB, LDEORAB, LDEORALB, LDEORLBAtomic exclusive-OR on byte
LDEORH, LDEORAH, LDEORALH, LDEORLHAtomic exclusive-OR on halfword
LDGLoad Allocation Tag
LDGMLoad tag multiple
LDIAPPLoad-Acquire RCpc ordered pair of registers
LDLARLoad LOAcquire register
LDLARBLoad LOAcquire register byte
LDLARHLoad LOAcquire register halfword
LDNPLoad pair of registers, with non-temporal hint
LDPLoad pair of registers
LDPSWLoad pair of registers signed word
LDR (immediate)Load register (immediate)
LDR (literal)Load register (literal)
LDR (register)Load register (register)
LDRAA, LDRABLoad register, with pointer authentication
LDRB (immediate)Load register byte (immediate)
LDRB (register)Load register byte (register)
LDRH (immediate)Load register halfword (immediate)
LDRH (register)Load register halfword (register)
LDRSB (immediate)Load register signed byte (immediate)
LDRSB (register)Load register signed byte (register)
LDRSH (immediate)Load register signed halfword (immediate)
LDRSH (register)Load register signed halfword (register)
LDRSW (immediate)Load register signed word (immediate)
LDRSW (literal)Load register signed word (literal)
LDRSW (register)Load register signed word (register)
LDSET, LDSETA, LDSETAL, LDSETLAtomic bit set on word or doubleword
LDSETB, LDSETAB, LDSETALB, LDSETLBAtomic bit set on byte
LDSETH, LDSETAH, LDSETALH, LDSETLHAtomic bit set on halfword
LDSETP, LDSETPA, LDSETPAL, LDSETPLAtomic bit set on quadword
LDSMAX, LDSMAXA, LDSMAXAL, LDSMAXLAtomic signed maximum on word or doubleword
LDSMAXB, LDSMAXAB, LDSMAXALB, LDSMAXLBAtomic signed maximum on byte
LDSMAXH, LDSMAXAH, LDSMAXALH, LDSMAXLHAtomic signed maximum on halfword
LDSMIN, LDSMINA, LDSMINAL, LDSMINLAtomic signed minimum on word or doubleword
LDSMINB, LDSMINAB, LDSMINALB, LDSMINLBAtomic signed minimum on byte
LDSMINH, LDSMINAH, LDSMINALH, LDSMINLHAtomic signed minimum on halfword
LDTADD, LDTADDA, LDTADDAL, LDTADDLAtomic add unprivileged
LDTCLR, LDTCLRA, LDTCLRAL, LDTCLRLAtomic bit clear unprivileged
LDTNPLoad unprivileged pair of registers, with non-temporal hint
LDTPLoad unprivileged pair of registers
LDTRLoad register (unprivileged)
LDTRBLoad register byte (unprivileged)
LDTRHLoad register halfword (unprivileged)
LDTRSBLoad register signed byte (unprivileged)
LDTRSHLoad register signed halfword (unprivileged)
LDTRSWLoad register signed word (unprivileged)
LDTSET, LDTSETA, LDTSETAL, LDTSETLAtomic bit set unprivileged
LDTXRLoad unprivileged exclusive register
LDUMAX, LDUMAXA, LDUMAXAL, LDUMAXLAtomic unsigned maximum on word or doubleword
LDUMAXB, LDUMAXAB, LDUMAXALB, LDUMAXLBAtomic unsigned maximum on byte
LDUMAXH, LDUMAXAH, LDUMAXALH, LDUMAXLHAtomic unsigned maximum on halfword
LDUMIN, LDUMINA, LDUMINAL, LDUMINLAtomic unsigned minimum on word or doubleword
LDUMINB, LDUMINAB, LDUMINALB, LDUMINLBAtomic unsigned minimum on byte
LDUMINH, LDUMINAH, LDUMINALH, LDUMINLHAtomic unsigned minimum on halfword
LDURLoad register (unscaled)
LDURBLoad register byte (unscaled)
LDURHLoad register halfword (unscaled)
LDURSBLoad register signed byte (unscaled)
LDURSHLoad register signed halfword (unscaled)
LDURSWLoad register signed word (unscaled)
LDXPLoad exclusive pair of registers
LDXRLoad exclusive register
LDXRBLoad exclusive register byte
LDXRHLoad exclusive register halfword
LSL (immediate)Logical shift left (immediate): an alias of UBFM
LSL (register)Logical shift left (register): an alias of LSLV
LSLVLogical shift left variable
LSR (immediate)Logical shift right (immediate): an alias of UBFM
LSR (register)Logical shift right (register): an alias of LSRV
LSRVLogical shift right variable

M

NameDescription
MADDMultiply-add
MADDPTMultiply-add checked pointer
MNEGMultiply-negate: an alias of MSUB
MOV (bitmask immediate)Move bitmask immediate value: an alias of ORR (immediate)
MOV (inverted wide immediate)Move inverted wide immediate value: an alias of MOVN
MOV (register)Move register value: an alias of ORR (shifted register)
MOV (to/from SP)Move register value to or from SP: an alias of ADD (immediate)
MOV (wide immediate)Move wide immediate value: an alias of MOVZ
MOVKMove wide with keep
MOVNMove wide with NOT
MOVZMove wide with zero
MRRSMove System register to two adjacent general-purpose registers
MRSMove System register to general-purpose register
MSR (immediate)Move immediate value to special register
MSR (register)Move general-purpose register to System register
MSRRMove two adjacent general-purpose registers to System register
MSUBMultiply-subtract
MSUBPTMultiply-subtract checked pointer
MULMultiply: an alias of MADD
MVNBitwise NOT: an alias of ORN (shifted register)

N

NameDescription
NEG (shifted register)Negate (shifted register): an alias of SUB (shifted register)
NEGSNegate, setting flags: an alias of SUBS (shifted register)
NGCNegate with carry: an alias of SBC
NGCSNegate with carry, setting flags: an alias of SBCS
NOPNo operation

O

NameDescription
ORN (shifted register)Bitwise OR NOT (shifted register)
ORR (immediate)Bitwise OR (immediate)
ORR (shifted register)Bitwise OR (shifted register)

P

NameDescription
PACDA, PACDZAPointer Authentication Code for data address, using key A
PACDB, PACDZBPointer Authentication Code for data address, using key B
PACGAPointer Authentication Code, using generic key
PACIA, PACIA1716, PACIASP, PACIAZ, PACIZAPointer Authentication Code for instruction address, using key A
PACIA171615Pointer Authentication Code for instruction address, using key A
PACIASPPCPointer Authentication Code for return address, using key A
PACIB, PACIB1716, PACIBSP, PACIBZ, PACIZBPointer Authentication Code for instruction address, using key B
PACIB171615Pointer Authentication Code for instruction address, using key B
PACIBSPPCPointer Authentication Code for return address, using key B
PACMPointer authentication modifier
PACNBIASPPCPointer Authentication Code for return address, using key A, not a branch target
PACNBIBSPPCPointer Authentication Code for return address, using key B, not a branch target
PRFM (immediate)Prefetch memory (immediate)
PRFM (literal)Prefetch memory (literal)
PRFM (register)Prefetch memory (register)
PRFUMPrefetch memory (unscaled offset)
PSBProfiling synchronization barrier
PSSBBPhysical speculative store bypass barrier: an alias of DSB

R

NameDescription
RBITReverse bits
RCWCAS, RCWCASA, RCWCASAL, RCWCASLRead check write compare and swap doubleword in memory
RCWCASP, RCWCASPA, RCWCASPAL, RCWCASPLRead check write compare and swap quadword in memory
RCWCLR, RCWCLRA, RCWCLRAL, RCWCLRLRead check write atomic bit clear on doubleword in memory
RCWCLRP, RCWCLRPA, RCWCLRPAL, RCWCLRPLRead check write atomic bit clear on quadword in memory
RCWSCAS, RCWSCASA, RCWSCASAL, RCWSCASLRead check write software compare and swap doubleword in memory
RCWSCASP, RCWSCASPA, RCWSCASPAL, RCWSCASPLRead check write software compare and swap quadword in memory
RCWSCLR, RCWSCLRA, RCWSCLRAL, RCWSCLRLRead check write software atomic bit clear on doubleword in memory
RCWSCLRP, RCWSCLRPA, RCWSCLRPAL, RCWSCLRPLRead check write software atomic bit clear on quadword in memory
RCWSET, RCWSETA, RCWSETAL, RCWSETLRead check write atomic bit set on doubleword in memory
RCWSETP, RCWSETPA, RCWSETPAL, RCWSETPLRead check write atomic bit set on quadword in memory
RCWSSET, RCWSSETA, RCWSSETAL, RCWSSETLRead check write software atomic bit set on doubleword in memory
RCWSSETP, RCWSSETPA, RCWSSETPAL, RCWSSETPLRead check write software atomic bit set on quadword in memory
RCWSSWP, RCWSSWPA, RCWSSWPAL, RCWSSWPLRead check write software swap doubleword in memory
RCWSSWPP, RCWSSWPPA, RCWSSWPPAL, RCWSSWPPLRead check write software swap quadword in memory
RCWSWP, RCWSWPA, RCWSWPAL, RCWSWPLRead check write swap doubleword in memory
RCWSWPP, RCWSWPPA, RCWSWPPAL, RCWSWPPLRead check write swap quadword in memory
RETReturn from subroutine
RETAA, RETABReturn from subroutine, with pointer authentication
RETAASPPC, RETABSPPCReturn from subroutine, with enhanced pointer authentication using an immediate offset
RETAASPPCR, RETABSPPCRReturn from subroutine, with enhanced pointer authentication using a register
REVReverse bytes
REV16Reverse bytes in 16-bit halfwords
REV32Reverse bytes in 32-bit words
REV64Reverse bytes: an alias of REV
RMIFRotate, mask insert flags
ROR (immediate)Rotate right (immediate): an alias of EXTR
ROR (register)Rotate right (register): an alias of RORV
RORVRotate right variable
RPRFMRange prefetch memory

S

NameDescription
SBSpeculation barrier
SBCSubtract with carry
SBCSSubtract with carry, setting flags
SBFIZSigned bitfield insert in zeros: an alias of SBFM
SBFMSigned bitfield move
SBFXSigned bitfield extract: an alias of SBFM
SDIV (quotient)Signed divide
SETF8, SETF16Evaluation of 8-bit or 16-bit flag values
SETGP, SETGM, SETGEMemory set with tag setting
SETGPN, SETGMN, SETGENMemory set with tag setting, non-temporal
SETGPT, SETGMT, SETGETMemory set with tag setting, unprivileged
SETGPTN, SETGMTN, SETGETNMemory set with tag setting, unprivileged and non-temporal
SETP, SETM, SETEMemory set
SETPN, SETMN, SETENMemory set, non-temporal
SETPT, SETMT, SETETMemory set, unprivileged
SETPTN, SETMTN, SETETNMemory set, unprivileged and non-temporal
SEVSend event
SEVLSend event local
SHUHShared update hint
SLBNDScoped release boundary
SMADDLSigned multiply-add long
SMAX (immediate)Signed maximum (immediate)
SMAX (register)Signed maximum (register)
SMCSecure monitor call
SMIN (immediate)Signed minimum (immediate)
SMIN (register)Signed minimum (register)
SMNEGLSigned multiply-negate long: an alias of SMSUBL
SMSTARTEnable access to Streaming SVE mode and SME architectural state: an alias of MSR (immediate)
SMSTOPDisable access to Streaming SVE mode and SME architectural state: an alias of MSR (immediate)
SMSUBLSigned multiply-subtract long
SMULHSigned multiply high
SMULL (32-bit)Signed multiply long: an alias of SMADDL
SRLSScope release
SSBBSpeculative store bypass barrier: an alias of DSB
ST2GStore Allocation Tags
ST64BSingle-copy atomic 64-byte store without status result
ST64BVSingle-copy atomic 64-byte store with status result
ST64BV0Single-copy atomic 64-byte EL0 store with status result
STADD, STADDLAtomic add on word or doubleword, without return: an alias of LDADD, LDADDA, LDADDAL, LDADDL
STADDB, STADDLBAtomic add on byte, without return: an alias of LDADDB, LDADDAB, LDADDALB, LDADDLB
STADDH, STADDLHAtomic add on halfword, without return: an alias of LDADDH, LDADDAH, LDADDALH, LDADDLH
STCLR, STCLRLAtomic bit clear on word or doubleword, without return: an alias of LDCLR, LDCLRA, LDCLRAL, LDCLRL
STCLRB, STCLRLBAtomic bit clear on byte, without return: an alias of LDCLRB, LDCLRAB, LDCLRALB, LDCLRLB
STCLRH, STCLRLHAtomic bit clear on halfword, without return: an alias of LDCLRH, LDCLRAH, LDCLRALH, LDCLRLH
STCPHStore concurrent priority hint
STEOR, STEORLAtomic exclusive-OR on word or doubleword, without return: an alias of LDEOR, LDEORA, LDEORAL, LDEORL
STEORB, STEORLBAtomic exclusive-OR on byte, without return: an alias of LDEORB, LDEORAB, LDEORALB, LDEORLB
STEORH, STEORLHAtomic exclusive-OR on halfword, without return: an alias of LDEORH, LDEORAH, LDEORALH, LDEORLH
STGStore Allocation Tag
STGMStore Allocation Tag multiple
STGPStore Allocation Tag and pair of registers
STILPStore-release ordered pair of registers
STL64BSingle-copy atomic 64-byte store-release without status result
STL64BVSingle-copy atomic 64-byte store-release with status result
STL64BV0Single-copy atomic 64-byte EL0 store-release with status result
STLLRStore LORelease register
STLLRBStore LORelease register byte
STLLRHStore LORelease register halfword
STLPStore-release pair of registers
STLRStore-release register
STLRBStore-release register byte
STLRHStore-release register halfword
STLTXRStore-release unprivileged exclusive register
STLURStore-release register (unscaled)
STLURBStore-release register byte (unscaled)
STLURHStore-release register halfword (unscaled)
STLXPStore-release exclusive pair of registers
STLXRStore-release exclusive register
STLXRBStore-release exclusive register byte
STLXRHStore-release exclusive register halfword
STNPStore pair of registers, with non-temporal hint
STPStore pair of registers
STR (immediate)Store register (immediate)
STR (register)Store register (register)
STRB (immediate)Store register byte (immediate)
STRB (register)Store register byte (register)
STRH (immediate)Store register halfword (immediate)
STRH (register)Store register halfword (register)
STSET, STSETLAtomic bit set on word or doubleword, without return: an alias of LDSET, LDSETA, LDSETAL, LDSETL
STSETB, STSETLBAtomic bit set on byte, without return: an alias of LDSETB, LDSETAB, LDSETALB, LDSETLB
STSETH, STSETLHAtomic bit set on halfword, without return: an alias of LDSETH, LDSETAH, LDSETALH, LDSETLH
STSHHStore shared hint
STSMAX, STSMAXLAtomic signed maximum on word or doubleword, without return: an alias of LDSMAX, LDSMAXA, LDSMAXAL, LDSMAXL
STSMAXB, STSMAXLBAtomic signed maximum on byte, without return: an alias of LDSMAXB, LDSMAXAB, LDSMAXALB, LDSMAXLB
STSMAXH, STSMAXLHAtomic signed maximum on halfword, without return: an alias of LDSMAXH, LDSMAXAH, LDSMAXALH, LDSMAXLH
STSMIN, STSMINLAtomic signed minimum on word or doubleword, without return: an alias of LDSMIN, LDSMINA, LDSMINAL, LDSMINL
STSMINB, STSMINLBAtomic signed minimum on byte, without return: an alias of LDSMINB, LDSMINAB, LDSMINALB, LDSMINLB
STSMINH, STSMINLHAtomic signed minimum on halfword, without return: an alias of LDSMINH, LDSMINAH, LDSMINALH, LDSMINLH
STTADD, STTADDLAtomic add unprivileged, without return: an alias of LDTADD, LDTADDA, LDTADDAL, LDTADDL
STTCLR, STTCLRLAtomic bit clear unprivileged, without return: an alias of LDTCLR, LDTCLRA, LDTCLRAL, LDTCLRL
STTNPStore unprivileged pair of registers, with non-temporal hint
STTPStore unprivileged pair of registers
STTRStore register (unprivileged)
STTRBStore register byte (unprivileged)
STTRHStore register halfword (unprivileged)
STTSET, STTSETLAtomic bit set unprivileged, without return: an alias of LDTSET, LDTSETA, LDTSETAL, LDTSETL
STTXRStore unprivileged exclusive register
STUMAX, STUMAXLAtomic unsigned maximum on word or doubleword, without return: an alias of LDUMAX, LDUMAXA, LDUMAXAL, LDUMAXL
STUMAXB, STUMAXLBAtomic unsigned maximum on byte, without return: an alias of LDUMAXB, LDUMAXAB, LDUMAXALB, LDUMAXLB
STUMAXH, STUMAXLHAtomic unsigned maximum on halfword, without return: an alias of LDUMAXH, LDUMAXAH, LDUMAXALH, LDUMAXLH
STUMIN, STUMINLAtomic unsigned minimum on word or doubleword, without return: an alias of LDUMIN, LDUMINA, LDUMINAL, LDUMINL
STUMINB, STUMINLBAtomic unsigned minimum on byte, without return: an alias of LDUMINB, LDUMINAB, LDUMINALB, LDUMINLB
STUMINH, STUMINLHAtomic unsigned minimum on halfword, without return: an alias of LDUMINH, LDUMINAH, LDUMINALH, LDUMINLH
STURStore register (unscaled)
STURBStore register byte (unscaled)
STURHStore register halfword (unscaled)
STXPStore exclusive pair of registers
STXRStore exclusive register
STXRBStore exclusive register byte
STXRHStore exclusive register halfword
STZ2GStore Allocation Tags, zeroing
STZGStore Allocation Tag, zeroing
STZGMStore Allocation Tag and zero multiple
SUB (extended register)Subtract extended and scaled register
SUB (immediate)Subtract immediate value
SUB (shifted register)Subtract optionally-shifted register
SUBGSubtract with tag
SUBPSubtract pointer
SUBPSSubtract pointer, setting flags
SUBPTSubtract checked pointer
SUBS (extended register)Subtract extended and scaled register, setting flags
SUBS (immediate)Subtract immediate value, setting flags
SUBS (shifted register)Subtract optionally-shifted register, setting flags
SVCSupervisor call
SWP, SWPA, SWPAL, SWPLSwap word or doubleword in memory
SWPB, SWPAB, SWPALB, SWPLBSwap byte in memory
SWPH, SWPAH, SWPALH, SWPLHSwap halfword in memory
SWPP, SWPPA, SWPPAL, SWPPLSwap quadword in memory
SWPT, SWPTA, SWPTAL, SWPTLSwap unprivileged
SXTBSigned extend byte: an alias of SBFM
SXTHSign extend halfword: an alias of SBFM
SXTWSign extend word: an alias of SBFM
SYSSystem instruction
SYSLSystem instruction with result
SYSP128-bit system instruction

T

NameDescription
TBNZTest bit and branch if nonzero
TBZTest bit and branch if zero
TFLTNZTest bit and fault if nonzero
TFLTZTest bit and fault if zero
TLBITLB invalidate operation: an alias of SYS
TLBIPTLB invalidate pair operation: an alias of SYSP
TRCITTrace instrumentation: an alias of SYS
TSBTrace synchronization barrier
TST (immediate)Test bits (immediate): an alias of ANDS (immediate)
TST (shifted register)Test (shifted register): an alias of ANDS (shifted register)

U

NameDescription
UBFIZUnsigned bitfield insert in zeros: an alias of UBFM
UBFMUnsigned bitfield move
UBFXUnsigned bitfield extract: an alias of UBFM
UDFPermanently undefined
UDIV (quotient)Unsigned divide
UMADDLUnsigned multiply-add long
UMAX (immediate)Unsigned maximum (immediate)
UMAX (register)Unsigned maximum (register)
UMIN (immediate)Unsigned minimum (immediate)
UMIN (register)Unsigned minimum (register)
UMNEGLUnsigned multiply-negate long: an alias of UMSUBL
UMSUBLUnsigned multiply-subtract long
UMULHUnsigned multiply high
UMULL (32-bit)Unsigned multiply long: an alias of UMADDL
UXTBUnsigned extend byte: an alias of UBFM
UXTHUnsigned extend halfword: an alias of UBFM

W

NameDescription
WFEWait for event
WFETWait for event with timeout
WFIWait for interrupt
WFITWait for interrupt with timeout

X

NameDescription
XAFLAGConvert floating-point condition flags from external format to Arm format
XPACD, XPACI, XPACLRIStrip Pointer Authentication Code

Y

NameDescription
YIELDYield

Reading the entries

An entry like ADD (extended register) is a distinct encoding from ADD (immediate); they share a mnemonic and nothing else. ADDS sets NZCV, ADD doesn't, again, different opcode, not a modifier.

Two families are worth flagging because they're easy to misread:

  • Bitfield ops. SBFM, UBFM, BFM are the real instructions behind LSL, LSR, ASR, SXTB, UXTH, BFI and friends. If you're patching a shift, you're patching an immr/imms pair in a bitfield op.
  • System. SYS/SYSL are the escape hatch for implementation-defined operations, including cache and TLB maintenance. SVC is the syscall instruction on Linux; the syscall number is in X8, not the SVC immediate. Other kernels may use a different convention, and SVC is also the general exception-generating instruction for supervisor calls.

Log in to reply.