Tinysambler is an assembler for the RISC-V RV32I instruction set, written in Rust. It translates assembly instructions into their corresponding machine code and supports all instruction types defined in the RV32I specification.
-
Complete RV32I Support: Implements all 40 unique instructions of the RV32I base integer instruction set.
-
Support For Both Register Naming Convetions: x0-x31 and ABI name
-
Efficient Assembly: Converts RISC-V assembly code into machine code efficiently, leveraging Rust's performance and safety features.
Before building Tinysambler, ensure you have the following installed:
- Rust: Including the Cargo build system. You can install Rust and Cargo by following the instructions at rust-lang.org.
To build Tinysambler, follow these steps:
git clone https://github.com/duolok/tinysambler.getting-started
cd tinysambler
cargo build --releasecargo testIf you'd like to contribute to TinyGit, feel free to submit issues or pull requests on the repository. Make sure your code follows the existing style and includes necessary tests.
This project is licensed under the MIT License.