aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/utils.h')
-rw-r--r--qtmips_machine/utils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/qtmips_machine/utils.h b/qtmips_machine/utils.h
new file mode 100644
index 0000000..151e1d0
--- /dev/null
+++ b/qtmips_machine/utils.h
@@ -0,0 +1,13 @@
+#ifndef UTILS_H
+#define UTILS_H
+
+#include <string>
+
+std::string to_string_hex(int);
+std::string to_string_hex(unsigned);
+std::string to_string_hex(long);
+std::string to_string_hex(unsigned long);
+std::string to_string_hex(long long);
+std::string to_string_hex(unsigned long long);
+
+#endif // UTILS_H