sim: added shift
[calu.git] / 3b_sim / ccpu.hpp
index 24f6f31b073da00fe23c1c1adfa35ee70a4323f4..0dd8b1bde760d5942aaabeae35ac1b8fe33afd91 100644 (file)
@@ -45,7 +45,10 @@ class CCpu {
                void updateFlags(CDatd, CDat, CDat);
                /* will change all flags */
                void updateFlags(bool z, bool o, bool c, bool s);
-       
+               /* will change carry */
+               void updateCarry(bool c);
+
+               bool getCarry();
 
                bool conditionMet(short);