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.12.0,<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.12.0"
See this crate at https://crates.io/crates/rabbitizer.
MIPS CPU:
rfe
): https://psx.arthus.net/docs/R3000.pdfN64's RSP (Reality Signal Processor):
R3000 GTE:
R4000 ALLEGREX:
R5900: