Skip to content

Instantly share code, notes, and snippets.

@jemo07
Last active January 1, 2025 19:38
Show Gist options
  • Save jemo07/ef2f0be8ed12e1e4f181ab522cd66889 to your computer and use it in GitHub Desktop.
Save jemo07/ef2f0be8ed12e1e4f181ab522cd66889 to your computer and use it in GitHub Desktop.
Armv8-a opcodes list

ARMv8-A opcodes with their corresponding details:

Mnemonic Format With (bits) Binary Hex Shamt Binary Start (Hex) End (Hex)
ADC R 6 000110 6 - - -
ADD R 6 000010 2 000000 A0A 0B
ADDI I 6 100100 24 - - -
ADR I 6 100101 25 - - -
AND R 6 000010 2 000100 A0A 0B
ANDI I 6 100100 24 - - -
ASRV R 6 010110 11 - - -
B B 6 000101 5 000000 A0A 0B
BFI R 6 011000 6 - - -
BIC R 6 000010 2 100000 A0A 0B
BIC I 6 100100 24 - - -
BL B 6 100101 25 000000 A0A 0B
BLR R 6 110101 53 - - -
BR R 6 110101 53 - - -
CBZ CB 6 101101 2D - - -
CBNZ CB 6 101101 2D - - -
EOR R 6 000010 2 100100 A0A 0B
EORI I 6 100100 24 - - -
LDR D 6 001011 B - - -
LDRB D 6 001001 9 - - -
LDRH D 6 001001 9 - - -
LDRSB D 6 001001 9 - - -
LDRSH D 6 001001 9 - - -
LDUR D 6 011001 19 - - -
LDURB D 6 011001 19 - - -
LDURH D 6 011001 19 - - -
LDURSB D 6 011001 19 - - -
LDURSH D 6 011001 19 - - -
LSL R 6 110100 34 - - -
LSR R 6 110100 34 - - -
MOV I 6 000100 4 - - -
MOV R 6 000110 6 - - -
MOVK IW 6 100100 24 - - -
MOVN IW 6 100100 24 - - -
MOVZ IW 6 100100 24 - - -
MUL R 6 000010 2 110000 A0A 0B
MVN R 6 000010 2 111100 A0A 0B
ORR R 6 000010 2 000110 A0A 0B
ORRI I 6 100100 24 - - -
PRFM I 6 110100 34 - - -
RET R 6 110101 53 - - -
REV R 6 110101 53 - - -
REV16 R 6 110101 53 - - -
REV32 R 6 110101 53 - - -
SBC R 6 000110 6 - - -
SBFM R 6 011000 6 - - -
SDIV R 6 000110 6 - - -
SMADDL R 6 110110 36 - - -
SMULH R 6 110110 36 - - -
STP D 6 011010 1A - - -
STR D 6 001010 A - - -
STRB D 6 001000 8 - - -
STRH D 6 001000 8 - - -
STUR D 6 011010 1A - - -
STURB D 6 011010 1A - - -
STURH D 6 011010 1A - - -
SUB R 6 000010 2 000010 A0A 0B
SUBI I 6 100100 24 - - -
SUBIS I 6 100100 24 - - -
SVC R 6 110101 53 - - -
SXTB R 6 110100 34 - - -
SXTH R 6 110100 34 - - -
TBNZ TB 6 101101 2D - - -
TBZ TB 6 101101 2D - - -
UBFM R 6 011000 6 - - -
UDIV R 6 000110 6 - - -
UMADDL R 6 110110 36 - - -
UMULH R 6 110110 36 - - -
WFE I 6 110101 53 - - -
WFI I 6 110101 53 - - -
YIELD I 6 110101 53 - - -

This list includes a selection of common ARMv8-A opcodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment