diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-10-11 02:34:32 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-10-11 02:34:32 -0700 |
commit | bd00c14c37f813b28dde77def29114a5f5976e6c (patch) | |
tree | 449a4c97738da9c8f6bf70a7c448fc7cb089381f /subx | |
parent | f40dd267890c6be2d126254593434e10b44b42db (diff) | |
download | mu-bd00c14c37f813b28dde77def29114a5f5976e6c.tar.gz |
4022
Diffstat (limited to 'subx')
-rw-r--r-- | subx/010core.cc | 6 |
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 |