summaryrefslogtreecommitdiff
path: root/masm/parse_mips32.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-09 12:41:49 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-09 12:41:49 -0400
commit2ed275821676a0d5baea6c7fd843d71c72c2342c (patch)
tree480297f28e5c42d02a47b3b94027a7abe507d010 /masm/parse_mips32.h
downloadmips-2ed275821676a0d5baea6c7fd843d71c72c2342c.tar.gz
mips-2ed275821676a0d5baea6c7fd843d71c72c2342c.tar.bz2
mips-2ed275821676a0d5baea6c7fd843d71c72c2342c.zip
initial mips32 (r2000ish mips32r6) assembler
Diffstat (limited to 'masm/parse_mips32.h')
-rw-r--r--masm/parse_mips32.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/masm/parse_mips32.h b/masm/parse_mips32.h
new file mode 100644
index 0000000..6de154f
--- /dev/null
+++ b/masm/parse_mips32.h
@@ -0,0 +1,14 @@
+/* Copyright (c) 2024 Freya Murphy */
+
+#ifndef __PARSE_MIPS32_H__
+#define __PARSE_MIPS32_H__
+
+#include "parse.h"
+
+/* initzlize a mips32 parser*/
+int mips32_parser_init(struct lexer *lexer, struct parser *parser);
+
+/* free the mips32 parser */
+void mips32_parser_free(struct parser *parser);
+
+#endif /* __PARSE_MIPS32_H__ */