sim: increased default return address
[calu.git] / 3b_sim / ccpu.hpp
index e428f630dd637dcf0e5cdbcb5c53af1ed0140316..0dd8b1bde760d5942aaabeae35ac1b8fe33afd91 100644 (file)
@@ -35,10 +35,20 @@ class CCpu {
                void setProg(const int, Iinstr*);
 
                CDat getCurPC() const;
+               CDat getNextPC() const;
                void setNextPC(CDat);
 
+               CDat getFlags() const;
+               /* will only change zero and sign */
                void updateFlags(CDat);
+               /* will change all flags */
+               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);