]> Shamusworld >> Repos - rmac/blob - procln.h
Initial commit for 68020/30/40/60/68881/68882/68851 support.
[rmac] / procln.h
1 //
2 // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
3 // PROCLN.H - Line Processing
4 // Copyright (C) 199x Landon Dyer, 2017 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 __PROCLN_H__
10 #define __PROCLN_H__
11
12 #include "rmac.h"
13 #include "token.h"
14 #include "amode.h"
15
16 // Exported variables
17 extern IFENT * ifent;
18 extern const char comma_error[];
19 extern const char locgl_error[];
20 extern const char syntax_error[];
21 extern const char extra_stuff[];
22 extern int just_bss;
23 extern VALUE pcloc;
24 extern SYM * lab_sym;
25 extern LONG amsktab[];
26 int bfparam1;
27 int bfparam2;
28 TOKEN bf0expr[EXPRSIZE];        // Expression
29 VALUE bf0exval;                         // Expression's value
30 WORD bf0exattr;                         // Expression's attribute
31 SYM * bf0esym;                          // External symbol involved in expr
32
33
34 // Exported functions
35 void InitLineProcessor(void);
36 void Assemble(void);
37 int d_if(void);
38 int d_else(void);
39 int d_endif(void);
40 int check030bf(void);
41
42 #endif // __PROCLN_H__
43