about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/010core.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/subx/010core.cc b/subx/010core.cc
index f62e3027..82e8672e 100644
--- a/subx/010core.cc
+++ b/subx/010core.cc
@@ -26,9 +26,11 @@ EIP = 0;
 //:: simulated flag registers; just a subset that we care about
 
 :(before "End Globals")
-bool OF=false, ZF=false, SF=false;
+bool SF = false;  // sign flag
+bool ZF = false;  // zero flag
+bool OF = false;  // overflow flag
 :(before "End Reset")
-OF = ZF = SF = false;
+SF = ZF = OF = false;
 
 //: how the flag registers are updated after each instruction