diff options
author | fishsoupisgood <github@madingley.org> | 2019-05-27 02:41:51 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-05-27 02:41:51 +0100 |
commit | 333b605b2afd472b823aeda0adf0e8b1ea9843c0 (patch) | |
tree | bc8f581317897e2e53f278f1716b4471fcdccd4f /as1750.h | |
download | asl-master.tar.gz asl-master.tar.bz2 asl-master.zip |
Diffstat (limited to 'as1750.h')
-rw-r--r-- | as1750.h | 18 |
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 |