Module disarm64::format_insn
source · Expand description
Formatting instructions to human-readable strings
Currently, the decoded instruction is converted straight to a string. Once the full known set of instructions is implemented, this will be supplemented with a more structured approach while retaining the current string formatting instructions.
Functions§
- Format an instruction to a string. It does not use the aliases yet and always emits the primary mnemonic. The program counter is useful for the PC-relative addressing to emit the target address in the disassembly rather than the offset.