Expand description
The runtime support shared by the AArch64 and AArch32 disassemblers.
Register, arrangement and data type names belong to each instruction set and stay out of this crate.
Re-exports§
pub use decode::DecodeError;pub use decode::Decoded;
Modules§
- address
- Where an instruction’s label points, as the architecture reads the PC.
- branch
- What an instruction does to the flow of control.
- bytes
- Reading instructions from byte slices.
- capi
std - What both runtimes’ C libraries share: the caller’s buffers, the token and string types, and the guard that stops a panic crossing into C. Each library adds its own operand model and entry points.
- condition
- Whether a condition code can fail.
- decode
- The result of a decode in either runtime.
- flags
- What an instruction does with the condition flags.
- names
- Names packed into one string, as the generated tables hold them.
- register
- Macros that declare register files.
- tokens
- An instruction rendered as tokens.
- view
- The operands of an instruction, as many as it has and no more.
- write
- Writing an instruction out as tokens.
Macros§
- decoded
- Implements
Decodedfor a runtime’s generatedInstruction. - register
- Declares a one-byte register newtype holding a number below the count.
Given a prefix it also implements
Display, writing the prefix and the number, or the name listed for that number. - register_
enum - Declares an enum over several register files, each variant holding a register of one file.
- rendering_
writer - Declares a runtime’s rendering writer. It wraps the shared
Writerwith the instruction set’s address width fixed and derefs to it, and the runtime adds the methods that read its own operands.