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?

3 Answers 3

11

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

1
  • 1
    It's definitely better source that I provided. Thank you a lot! Jan 17, 2020 at 16:49
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.

5

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

3
  • 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. Jan 19, 2020 at 9: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 static.docs.arm.com/ddi0596/a/….
    – Biswapriyo
    Jan 20, 2020 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. Jan 20, 2020 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.