| Crates.io | msp430-asm |
| lib.rs | msp430-asm |
| version | 0.2.0 |
| created_at | 2021-02-28 18:43:12.855761+00 |
| updated_at | 2023-01-30 02:50:14.538003+00 |
| description | Disassembler for msp430 |
| homepage | https://www.github.com/jrozner/msp43-asm |
| repository | https://www.github.com/jrozner/msp43-asm |
| max_upload_size | |
| id | 361922 |
| size | 72,353 |
A disassembly engine written in Rust for the msp430.
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),
}
This project is licensed under the terms of the MIT open source license