sim: highlight for instr
[calu.git] / 3b_sim / ccpu.hpp
index ebe15f91c24cf03d14e88dd83e308d8c6cfd1847..4a8724004733e5812d3006f57bb4ede00e7ad5c5 100644 (file)
@@ -5,8 +5,11 @@
 #include "cmem.hpp"
 #include "cpmem.hpp"
 
+#include "ccolor.h"
+
 class Iinstr;
 
+#include <boost/regex.hpp>
 #include "Iinstr.hpp"
 
 
@@ -37,6 +40,7 @@ class CCpu {
                CDat getPerf() const;
                void setPerf(CDat);
                void incPerf();
+               void incPerfBy(short);
 
                CDat getCurPC() const;
                CDat getNextPC() const;
@@ -60,6 +64,8 @@ class CCpu {
                int getStack() const;
                void setStack(const int);
 
+               string colorifyInstr(string instr);
+
                CCpu(int,int,int);
 
 };