summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eater_cpu/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' : ' ',