pub fn disassemble(ir: u32, pc: u32, syms: Option<&SymbolTable>) -> StringExpand description
Disassemble one RV32IMA instruction into an objdump-compatible string.
ir— the 32-bit instruction word.pc— virtual address of the instruction, used to compute branch and jump targets relative to PC.syms— optional symbol table for resolving target addresses to names.
Returns a string containing the mnemonic and operands, with no leading
address and no trailing newline. Example: "jal ra, <vTaskStartScheduler>".