]> Shamusworld >> Repos - rmac/blob - macro.h
First working 64-bit version of RMAC
[rmac] / macro.h
1 //
2 // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
3 // MACRO.H - Macro Definition and Invocation
4 // Copyright (C) 199x Landon Dyer, 2011 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 __MACRO_H__
10 #define __MACRO_H__
11
12 #include "rmac.h"
13
14 // Globals, externals etc
15 extern LONG curuniq;
16 //extern TOKEN ** argp;
17 extern int mjump_align;
18 extern TOKEN * argPtrs[];
19
20 // Prototypes
21 void init_macro(void);
22 int exitmac(void);
23 int DefineMacro(void);
24 int defrept(void);
25 int lncatch(int (*)(), char *);
26 int kwmatch(char *, char *);
27 int InvokeMacro(SYM *, WORD);
28 void ib_macro(void);
29
30 #endif // __MACRO_H__