| Crates.io | riscv-asm |
| lib.rs | riscv-asm |
| version | 0.0.2-wip |
| created_at | 2020-07-31 16:38:50.306068+00 |
| updated_at | 2020-07-31 16:50:39.544514+00 |
| description | A WIP, simple-to-use assembler and disassembler for `riscv32i-unknown-none-elf` targets |
| homepage | |
| repository | https://github.com/Chris--B/riscv-asm/ |
| max_upload_size | |
| id | 271697 |
| size | 595,917 |
A WIP, simple-to-use assembler and disassembler for riscv32i-unknown-none-elf targets.
The binary target dis will disassemble an Elf file passed to it.
$ cargo run --bin dis ./path/to/riscv32i/bin.elf
See the full --help output for more options
$ cargo run --bin dis -- --help
Usage: target/debug/dis [OPTIONS]
Positional arguments:
input Path to a RISC-V elf to disassemble
Optional arguments:
-h, --help Print the help message and exit
-a, --allow-pseudo "Use equivalent pseudo instructions when possible" (default: true)
-o, --output OUTPUT Path to write disassembled output into