summaryrefslogtreecommitdiffstats
path: root/whichasm-0.01/classifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'whichasm-0.01/classifier.h')
-rw-r--r--whichasm-0.01/classifier.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/whichasm-0.01/classifier.h b/whichasm-0.01/classifier.h
new file mode 100644
index 0000000..9a595c9
--- /dev/null
+++ b/whichasm-0.01/classifier.h
@@ -0,0 +1,17 @@
+/* standard types */
+
+enum class {
+ UNKNOWN,
+ MNEMONIC,
+ REGISTER
+};
+
+struct token {
+ char *name;
+ struct token *next;
+};
+
+int classifier_arm(char *token_name);
+int classifier_ppc(char *token_name);
+int classifier_s390x(char *token_name);
+int classifier_x86(char *token_name);