summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eater_cpu/cpp')
-rw-r--r--eater_cpu/cpp/simpc_curses.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/eater_cpu/cpp/simpc_curses.cpp b/eater_cpu/cpp/simpc_curses.cpp
index c7de19b..759996e 100644
--- a/eater_cpu/cpp/simpc_curses.cpp
+++ b/eater_cpu/cpp/simpc_curses.cpp
@@ -68,8 +68,10 @@ void simpc_ui_write(const std::unique_ptr<Veater_computer> &topp, uint64_t i) {
topp->clk_in, topp->eater_computer->decoder__DOT__internal_state,
topp->halt, alu_flags);
- PRINT_ME_W(clock_regs, 2, 1, "BUS: %02X\tPC: @0x%02X\tINS: 0x%02X",
- topp->eater_computer->bus, topp->eater_computer->PC_out, opcode);
+ PRINT_ME_W(clock_regs, 2, 1,
+ "BUS: %02X\tPC: @0x%02X\tINS: 0x%02X\tMAR: 0x%02X",
+ topp->eater_computer->bus, topp->eater_computer->PC_out, opcode,
+ topp->eater_computer->MAR_out);
PRINT_ME_W(
clock_regs, 3, 1, "A : 0x%02X\tB : 0x%02X\tALU: 0x%02X\tOUT: 0x%02X",