disassemble
Disassemble 6502 assembly instructions at a specified memory address in a BBC Micro emulator session, returning each instruction's address and formatted text.
Instructions
Disassemble count 6502 instructions starting at addr.
Returns a list of {addr, info, text} dicts. info is
beebjit's per-line tag ("ITRP", "JIT", sometimes empty);
text is the mnemonic and operands. count is capped at 20
(beebjit's native batch size); for a longer disassembly loop
by advancing to the address past the last instruction.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"addr": "<addr>"
},
"name": "disassemble"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | ||
| count | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||