Monitor: wide 132x64 screen showing everything at once
On the 132x64 screen the monitor shows PC and all integer registers, all float registers (hex and decimal) with FCSR decoded, mstatus/mepc/mcause/ mtval/cycle/instret and the breakpoint, 24 rows of disassembly beside the stack, and 14 rows of memory, with changed registers highlighted; the 80x32 layout is unchanged. R takes float register names. The CPU's trap CSRs start at 0, so reading them before the first trap no longer hangs the simulated bus. send-hex accepts the prompt on any row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1e44ce4383
commit
addf0157fc
10 files changed
+3644
-3373
No files matched your search
@@ -166,7 +166,10 @@ All in C (plus a little assembly), compiled with GCC:
|
||||
ulp), since
|
||||
newlib's bring in its stdio and malloc.
|
||||
- `monitor/` — the machine-code monitor: memory, registers (integer and
|
||||
floating point), step, breakpoints, a RISC-V disassembler and a two-pass
|
||||
floating point), step, breakpoints; on the 132 × 64 screen it shows
|
||||
everything at once (all the integer and float registers, the float values
|
||||
in decimal, the CSRs, the disassembly, the stack and the memory, with the
|
||||
registers a step changed highlighted), a RISC-V disassembler and a two-pass
|
||||
assembler that both use GNU as syntax (`.org`, `.word`, `.string`,
|
||||
`%hi`/`%lo`, `#` comments; the disassembly reads like `objdump`'s), Intel
|
||||
HEX in and out.
|
||||
|
||||
Reference in new issue
Block a user