{"library":"rabbitizer","title":"rabbitizer","description":"Rabbitizer is a MIPS instruction decoder library for Python (and Rust/C) that supports multiple MIPS ISAs including R3000GTE, R4000Allegrex, R5900EE, and more. Current version is 1.16.0, with a 2.0.0-alpha series in development. It is used primarily in decompilation toolchains like Decompollaborate's tools. Release cadence is irregular, roughly monthly.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install rabbitizer"],"cli":null},"imports":["from rabbitizer import Instruction","from rabbitizer import RabbitizerConfig"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from rabbitizer import Instruction, RabbitizerConfig\n\n# Decode a MIPS instruction from its hex word\nword = 0x0C000000  # jal 0x0\ninstr = Instruction(word)\nprint(instr.mnemonic())  # jal\nprint(instr.opcode().name())  # jal\nprint(instr.arguments())  # list of arguments\n\n# Access register names\nprint(instr.rs.name())  # $zero\nprint(instr.rt.name())  # $zero\nprint(instr.rd.name())  # $zero\n","lang":"python","description":"Basic usage: create an Instruction from a 32-bit word, then access its properties.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}