projects
/
calu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spartan3e: BRAM gehaxe. lesbarer und wird auch richtig(er) instanziert
[calu.git]
/
3c_disasm
/
disasm.h
diff --git
a/3c_disasm/disasm.h
b/3c_disasm/disasm.h
index 078bd17ba3806f0d3f5c45d97a26b271fcd0efb8..403e38d3c333b6b6b5e76e4dd4f70a1e0ad1c9ef 100644
(file)
--- a/
3c_disasm/disasm.h
+++ b/
3c_disasm/disasm.h
@@
-1,8
+1,14
@@
+#ifndef __DISASM_H__
+#define __DISASM_H__
+
#include <iostream>
#include <string>
#include <map>
#include "uint32_from_hex.hpp"
#include <iostream>
#include <string>
#include <map>
#include "uint32_from_hex.hpp"
+
+class Iinstr;
+
#include "Iinstr.hpp"
using namespace std;
#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);
public:
disasm(std::map<short,Iinstr*> map) : instrs(map) {};
Iinstr* decode(std::string);
+ Iinstr* decodeNum(CDat);
std::string decodeToString(std::string str);
};
std::string decodeToString(std::string str);
};
+#endif