raki
RISC-V instruction decoder written in Rust.
- Both 32/64bit support.
- Support
rv32/64imac,Zicsr,Zifenceiextensions. - Implement Display trait for formatting.
Usage
Call the decode as u16/u32 method.
use ;
// --output--
// addi t0, t0, -276
Support
- BaseI (RV32I, RV64I)
- M
- A
- D
- Q
- C
- B
- P
- V
- H
- Zicsr
- Zifencei
- Zicntr
- Zicfiss
- Priv (Now only supports
mret,sret,wfi,sfence.vma)
License
This crate is licensed under MIT.
See LICENSE for details.
Contribution
All contributions are welcome, including issues, pull requests, questions, etc...
See CONTRIBUTING.md for details.