ppsspp_disassemble
Disassemble MIPS instructions at a given address to inspect PSP code. Returns a list of instructions with addresses for debugging, without altering memory or CPU state.
Instructions
PURPOSE: Disassemble N MIPS instructions at a given address.
USAGE: address required; session_id optional when exactly one session is active; count optional (default 10).
BEHAVIOR: READ-ONLY. Calls memory.disasm via WebSocket. Does not modify memory or CPU state.
RETURNS: {address, count, instructions: [{address, text}...]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of instructions to disassemble. Capped at 100 to prevent oversized responses. | |
| address | Yes | Starting address for disassembly, as a hex string (e.g. '0x08804000'). | |
| session_id | No | Active session ID; omit to auto-resolve when exactly one session is active. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of instructions disassembled. | |
| address | Yes | Starting address, hex string (e.g. '0x08804000'). | |
| instructions | Yes | List of disasm line dicts (text + address). |