aboutsummaryrefslogtreecommitdiffstats
path: root/as1750.h
blob: 2f9adf356e948b5b7415e672af27650f9c0359c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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