Add general encoding information for instructions
Adds the encoding information for each instruction. @AngelDev06 did the first implementation in https://github.com/capstone-engine/capstone/pull/2045
This PR adds a few changes:
- [ ] Rename
ARM_MEM_FMTto something ISA or LLVM related. The current names are rather arbitrary and don't relate to the formatting as described in the ISA or LLVM definitions. Which makes it difficult to determine which encoding corresponds to which one in the ISA. - [ ] Add an enum for ISA instruction formats for ARM (if possible). According to
C2.1(documentDDI0553B.v)
more?
@AngelDev06 Any objections against this (https://github.com/capstone-engine/capstone/pull/2231/commits/cff87a38061edb2a8968ef37cef6e0642bef6332) naming convention?
@Rot127 None. I like it more than my version, which was a little rushed. It's better that you can now refer to the documentation rather than trying to make sense from comments.
Closed due to: https://github.com/capstone-engine/capstone/pull/2045#issuecomment-2068848678