]> Shamusworld >> Repos - rmac/blob - direct.h
Fix for bug #167
[rmac] / direct.h
1 //
2 // RMAC - Reboot's Macro Assembler for all Atari computers
3 // DIRECT.H - Directive Handling
4 // Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends
5 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
6 // Source utilised with the kind permission of Landon Dyer
7 //
8
9 #ifndef __DIRECT_H__
10 #define __DIRECT_H__
11
12 #include "rmac.h"
13 #include "token.h"
14
15 // Imported variables
16
17 extern char * label_defined;
18
19 // Exported variables
20 extern TOKEN exprbuf[];
21 extern SYM * symbolPtr[];
22 extern int (* dirtab[])();
23 extern int largestAlign[];
24
25 // Exported functions
26 void auto_even(void);
27 int dep_block(uint32_t, WORD, uint32_t, WORD, TOKEN *);
28 int eject(void);
29 int abs_expr(uint64_t *);
30 int symlist(int(*)());
31
32 int d_even(void);
33 int d_long(void);
34 int d_phrase(void);
35 int d_dphrase(void);
36 int d_qphrase(void);
37
38 int d_if(void);
39 int d_else(void);
40 int d_endif(void);
41
42 int d_68000(void);
43 int d_68000(void);
44 int d_68020(void);
45 int d_68030(void);
46 int d_68040(void);
47 int d_68060(void);
48 int d_68881(void);
49 int d_68882(void);
50 int d_56001(void);
51 int d_gpu(void);
52 int d_dsp(void);
53
54 #endif // __DIRECT_H__
55