#ifndef __DISASM_H__ #define __DISASM_H__ #include #include #include #include "uint32_from_hex.hpp" class Iinstr; #include "Iinstr.hpp" using namespace std; class disasm { private: std::map instrs; protected: void decodeCondition(short); Iinstr* decodeOpcode(short); public: disasm(std::map map) : instrs(map) {}; Iinstr* decode(std::string); Iinstr* decodeNum(CDat); std::string decodeToString(std::string str); }; #endif