aboutsummaryrefslogtreecommitdiffstats
path: root/as1750.h
diff options
context:
space:
mode:
Diffstat (limited to 'as1750.h')
-rw-r--r--as1750.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/as1750.h b/as1750.h
new file mode 100644
index 0000000..2f9adf3
--- /dev/null
+++ b/as1750.h
@@ -0,0 +1,18 @@
+/* as1750.h -- exports of as1750.c */
+
+extern void init_as1750 ();
+extern unsigned short as1750 (char *operation,
+ int n_operands, char *operand[]);
+
+#ifdef AS1750
+extern void add_word (ushort word);
+extern void add_reloc (symbol_t sym);
+extern char *get_num (char *s, int *outnum);
+extern char *get_sym_num (char *s, int *outnum);
+extern status parse_addr (char *s);
+extern status error (char *layout, ...);
+#else /* ASL */
+#define OKAY 0
+#define ERROR 0xFFFD
+#define NO_OPCODE 0xFFFE
+#endif