ppsspp_disassemble
Disassemble MIPS instructions at a given address in a PPSSPP debugging session. Read-only; returns instruction addresses and text, with optional count and session.
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. Default 10. count=0 is treated as 'use the default' and returns 10 instructions (the response carries a note saying so). Capped at 100 to prevent oversized responses; a larger value is clamped and the note reports the clamp. | |
| 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). |