msp430-asm

Crates.iomsp430-asm
lib.rsmsp430-asm
version0.2.0
sourcesrc
created_at2021-02-28 18:43:12.855761
updated_at2023-01-30 02:50:14.538003
descriptionDisassembler for msp430
homepagehttps://www.github.com/jrozner/msp43-asm
repositoryhttps://www.github.com/jrozner/msp43-asm
max_upload_size
id361922
size72,353
Joe Rozner (jrozner)

documentation

README

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

Commit count: 0

cargo fmt