registers
Read a held PS2 program's CPU, FPU, COP0, VU0, or other register values by group; optionally return wide 128-bit general data.
Instructions
A held program's registers. group chooses which:
"general", the default: the 32 general ones, pc, hi and lo, and the exception's status, cause and bad_address. The general registers are given as their low 64 bits, or as all 128 with
wide."fpu": f0 to f31, each as its bits and the single-precision number they are; the accumulator, acc; fcr31, the control and status register; and fcr0.
"cop0": the system control registers by name. status, cause, epc and badvaddr are the held program's; the rest are as they are now, count running on.
"other": hi1 and lo1, the halves of HI and LO the R5900 added, and sa, the shift amount.
"vu0": VU0's, which the EE has as its second coprocessor: vf0 to vf31, each as its four numbers x, y, z and w and as their bits, w's highest; vi0 to vi15; and its control registers. They're read as they are: changing, if VU0 is running a program of its own, which vpu_stat's lowest bit says.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "registers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wide | No | ||
| group | No | general |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||