sim: added [st|ld]x
[calu.git] / 3c_disasm / disasm.h
index 078bd17ba3806f0d3f5c45d97a26b271fcd0efb8..403e38d3c333b6b6b5e76e4dd4f70a1e0ad1c9ef 100644 (file)
@@ -1,8 +1,14 @@
+#ifndef __DISASM_H__
+#define __DISASM_H__
+
 #include <iostream>
 #include <string>
 #include <map>
 
 #include "uint32_from_hex.hpp"
+
+class Iinstr;
+
 #include "Iinstr.hpp"
 
 using namespace std;
@@ -18,6 +24,8 @@ class disasm {
        public:
                disasm(std::map<short,Iinstr*> map) : instrs(map) {};
                Iinstr* decode(std::string);
+               Iinstr* decodeNum(CDat);
                std::string decodeToString(std::string str);
 };
 
+#endif