summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp/simpc_term.cpp
diff options
context:
space:
mode:
authoruvok2026-01-19 19:20:45 +0100
committeruvok2026-01-19 19:20:45 +0100
commitf127505b779dcb134fa48bcf2bf59810b60348c5 (patch)
treedaefefd52ae7e388ddd3faaabd7b1c14939bdd00 /eater_cpu/cpp/simpc_term.cpp
parent78d771dc71ca266b640d2b791cd1d06b7895b5f2 (diff)
eater: Add subtract flag
Diffstat (limited to 'eater_cpu/cpp/simpc_term.cpp')
-rw-r--r--eater_cpu/cpp/simpc_term.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/eater_cpu/cpp/simpc_term.cpp b/eater_cpu/cpp/simpc_term.cpp
index f598f6e..8ddf83d 100644
--- a/eater_cpu/cpp/simpc_term.cpp
+++ b/eater_cpu/cpp/simpc_term.cpp
@@ -60,7 +60,8 @@ void simpc_ui_write(const std::unique_ptr<Veater_computer> &topp, uint64_t i) {
topp->eater_computer->flags.__PVT__INS_out ? 'X' : ' ',
topp->eater_computer->flags.__PVT__A_in ? 'X' : ' ',
topp->eater_computer->flags.__PVT__A_out ? 'X' : ' ',
- topp->eater_computer->flags.__PVT__ALU_out ? 'X' : ' ', sub ? 'X' : ' ',
+ topp->eater_computer->flags.__PVT__ALU_out ? 'X' : ' ',
+ topp->eater_computer->flags.__PVT__ALU_subtract_nadd ? 'X' : ' ',
topp->eater_computer->flags.__PVT__B_in ? 'X' : ' ',
topp->eater_computer->flags.__PVT__B_out ? 'X' : ' ',
topp->eater_computer->flags.__PVT__OUT_in ? 'X' : ' ',