| Crates.io | rab-disasmdis |
| lib.rs | rab-disasmdis |
| version | 2.0.0-alpha.7 |
| created_at | 2025-05-23 13:21:34.816386+00 |
| updated_at | 2025-09-20 14:07:16.476037+00 |
| description | Disassemble MIPS instructions directly in your terminal, using the power of rabbitizer. |
| homepage | |
| repository | https://github.com/Decompollaborate/rabbitizer |
| max_upload_size | |
| id | 1686310 |
| size | 20,722 |
Disassemble MIPS instructions directly in your terminal, using the power of rabbitizer and Rust.
rab-disasmdis can disassemble the hexadecimal representation of MIPS
instructions by passing them as parameters.
Passing a big stream of bytes:
$ rab-disasmdis 000470803C028000004E102103E000088C420090
sll $t6, $a0, 2
lui $v0, 0x8000
addu $v0, $v0, $t6
jr $ra
lw $v0, 0x90($v0)
Words with 0x prefix:
$ rab-disasmdis 0x000470800x3C0280000x004E10210x03E000080x8C420090
sll $t6, $a0, 2
lui $v0, 0x8000
addu $v0, $v0, $t6
jr $ra
lw $v0, 0x90($v0)
Passing individual bytes:
$ rab-disasmdis 0x00 0x04 0x70 0x80 0x3C 0x02 0x80 0x00 0x00 0x4E 0x10 0x21 0x03 0xE0 0x00 0x08 0x8C 0x42 0x00 0x90
sll $t6, $a0, 2
lui $v0, 0x8000
addu $v0, $v0, $t6
jr $ra
lw $v0, 0x90($v0)
Omitting the 0x prefix:
$ rab-disasmdis 00 04 70 80 3C 02 80 00 00 4E 10 21 03 E0 00 08 8C 42 00 90
sll $t6, $a0, 2
lui $v0, 0x8000
addu $v0, $v0, $t6
jr $ra
lw $v0, 0x90($v0)
Little endian support (-EL or --endian little):
$ rab-disasmdis -EL 80 70 04 00 00 80 02 3C 21 10 4E 00 08 00 E0 03 90 00 42 8C
sll $t6, $a0, 2
lui $v0, 0x8000
addu $v0, $v0, $t6
jr $ra
lw $v0, 0x90($v0)
The recommended way for installing rab-disasmdis is by using Rust's Cargo.
Since rabbitizer is still on alpha, you'll need to specify a version.
cargo install rab-disasmdis@2.0.0-alpha.7
Prebuilt binaries for the latest version of the CLI are available at the releases page on Github.
This library follows Semantic Versioning. We try to always keep backwards compatibility, so no breaking changes should happen until a major release (i.e. jumping from 1.X.X to 2.0.0).
To see what changed on each release check either the CHANGELOG.md file or check the releases page on Github. You can also use this link to check the latest release.