12

I'm sorry for such as questions where answer would seem to be easily searched in google...

Some time ago I have seen table/list of ARMv8 instructions with opcodes and it was perfect, but I lost link. Now I'm trying to find at least some sources where opcodes of instructions listed and can't.

There're some C headers, where opcodes defined in non-readable form, lot of different scientific publications with 1k+ pages (containing no opcodes), etc., but I can't find simple list.

Could somebody point me?

Olvin Roght
  • 355
  • 1
  • 3
  • 12

3 Answers3

11

This doc may be interesting for you: https://github.com/CAS-Atlantic/AArch64-Encoding

Axifive
  • 246
  • 2
  • 6
7

Eureka!


HERE IS THIS TABLE


P.S. It's really hard to google it (keywords I used - "b arm64 opcode"), so I decided to post it as answer. Hope it'll be helpful for others.

Olvin Roght
  • 355
  • 1
  • 3
  • 12
5

The canonical source is the ARM Architecture Reference Manual. If you prefer machine readable format, the XML files are available too.

Igor Skochinsky
  • 36,553
  • 7
  • 65
  • 115
  • Yes, I've tried to work with official docs, but it takes too much time to extract needed information (at least for me), that's why I searched for something well structured with minimal amount of information doesn't related to subject. But anyway thank you for sharing links to official documents, it definitely will be useful for future researchers. – Olvin Roght Jan 19 '20 at 09:30
  • 1
    @OlvinRoght For my case the accepted answer does not provide any useful info about the opcodes. The above ARM manual does it well. Here is a direct link https://static.docs.arm.com/ddi0596/a/DDI_0596_ARM_a64_instruction_set_architecture.pdf. – Biswapriyo Jan 20 '20 at 12:37
  • @Biswapriyo It means that our cases are completely different. I've needed opcodes for patching obfuscated application and even table I provided in my answer was enough. – Olvin Roght Jan 20 '20 at 13:19