Assembly
A Rust library for decoding and encoding assembly of various architectures.
Supported architectures currently include:
6502
Cargo Features
Every architecture has a feature. This allows you to only enable the architectures you need.
For example 6502
support would be enabled by adding this to your Cargo.toml
:
[]
= "0.1"
= ["6502"]
Example
Decoding
use ;
let assembly = ;
let mut decoder = _6502 new;
println!
Encoding
use ;
let mut assembly = ;
let mut encoder = _6502 new;
encoder.encode;