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);