X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=inline;f=3b_sim%2Fccpu.hpp;h=17f90b18d6abadf65092469b230a38fd6213f101;hb=483917f105857e85af8c6959b8ee533fc6561bc2;hp=fb9447db2c6fb1aee57abcc70f2d4785b95c6b0a;hpb=842f3309b6853e1a9b1578978b14da9bc344c5e0;p=calu.git diff --git a/3b_sim/ccpu.hpp b/3b_sim/ccpu.hpp index fb9447d..17f90b1 100644 --- a/3b_sim/ccpu.hpp +++ b/3b_sim/ccpu.hpp @@ -18,7 +18,7 @@ class Iext; class CCpu { private: - bool m_Z, m_S, m_C, m_O; + bool m_Z, m_S, m_C, m_O, m_breakNext; CDat m_pc, m_pc_next, m_perf; CMem m_reg, m_ram; @@ -35,6 +35,9 @@ class CCpu { void applyToExtensions(const vector& in); void tick(); + void breakNext(); + bool shouldBreak(); + CDat getRegister(const int) const; void setRegister(const int, CDat);