Crates.io | rabbitizer |
lib.rs | rabbitizer |
version | 1.11.0 |
source | src |
created_at | 2022-12-18 20:16:32.904156 |
updated_at | 2024-07-12 15:51:43.814354 |
description | MIPS instruction decoder |
homepage | https://github.com/Decompollaborate/rabbitizer |
repository | https://github.com/Decompollaborate/rabbitizer |
max_upload_size | |
id | 740585 |
size | 1,618,028 |
MIPS instruction decoder API.
rabbitizer
doesn't allocate in anything in the heap by itself.jalr
instruction, allowing to disassemble
that instruction using an implicit or explicit rd
register depending if
that register is $ra
or not.SN64
:
div
/divu
fix: tweaks a bit the produced div
, divu
and break
instructions.In order to keep it simple and fast the following features will not be added:
The recommended way to install is using from the PyPi release, via pip
:
python3 -m pip install -U rabbitizer
If you use a requirements.txt
file in your repository, then you can add this
library with the following line:
rabbitizer>=1.11.1,<2.0.0
The unstable development version is located at the develop branch. PRs should be made into that branch instead of the main one.
Note that building the Python bindings from source require the Python development package. Under Ubuntu/Debian based distros it can be installed with:
apt install python3-dev
In case you want to mess with the latest development version without wanting to clone the repository, then you could use the following command:
python3 -m pip uninstall rabbitizer
python3 -m pip install git+https://github.com/Decompollaborate/rabbitizer.git@develop
NOTE: Installing the development version is not recommended. Proceed at your own risk.
See this package at https://pypi.org/project/rabbitizer/.
Add this crate to your project with Cargo:
cargo add rabbitizer
Or you can add it manually to your Cargo.toml
:
rabbitizer = "1.11.1"
See this crate at https://crates.io/crates/rabbitizer.
MIPS CPU:
N64's RSP (Reality Signal Processor):
R3000 GTE:
R4000 ALLEGREX:
R5900: