Crate asm

source · []
Expand description

Decoding and encoding of assembly

Example

Decode 6502 assembly

let assembly = [0x65, 0x83, 0x31];

let decoder = asm::Architecture::_6502.decoder(assembly.into_iter());

for instruction in decoder {
    println!("{:?}", instruction);
}

Modules

The 6502 ISA

Enums

Architectures known by this crate

Traits

A instruction decoder