2 unstable releases

0.2.0 Jan 30, 2023
0.1.0 Feb 28, 2021

#490 in Debugging

Download history 1/week @ 2024-12-07 8/week @ 2025-01-25 19/week @ 2025-02-01 24/week @ 2025-02-08 24/week @ 2025-02-15 23/week @ 2025-02-22 19/week @ 2025-03-01

91 downloads per month

MIT license

71KB
2K SLoC

msp430-asm

A disassembly engine written in Rust for the msp430.

Use

There is only one function exposed that you need to care about for disassembling instructions: decode.

extern crate msp430_asm;

use msp430_asm::decode;

let data = [0xf9, 0x23];

match decode(&data) {
    Ok(inst) => println!("{}", inst),
    Err(e) => println!("error decoding instruction: {}", e),
}

License

This project is licensed under the terms of the MIT open source license

No runtime deps