2011-12-27 01:54:45 +02:00
|
|
|
//
|
2021-03-08 00:43:25 +02:00
|
|
|
// RMAC - Renamed Macro Assembler for all Atari computers
|
2011-12-27 00:50:27 +02:00
|
|
|
// MACRO.H - Macro Definition and Invocation
|
2021-03-08 00:43:25 +02:00
|
|
|
// Copyright (C) 199x Landon Dyer, 2011-2021 Reboot and Friends
|
2011-12-27 00:50:27 +02:00
|
|
|
// RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
|
2015-02-19 16:56:14 +02:00
|
|
|
// Source utilised with the kind permission of Landon Dyer
|
2011-12-27 01:54:45 +02:00
|
|
|
//
|
2011-12-27 00:50:27 +02:00
|
|
|
|
|
|
|
#ifndef __MACRO_H__
|
|
|
|
#define __MACRO_H__
|
|
|
|
|
|
|
|
#include "rmac.h"
|
|
|
|
|
2017-04-20 22:29:31 +03:00
|
|
|
// Exported variables
|
2011-12-27 00:50:27 +02:00
|
|
|
extern LONG curuniq;
|
2012-11-24 21:48:52 +02:00
|
|
|
extern TOKEN * argPtrs[];
|
2017-10-31 11:33:02 +02:00
|
|
|
extern LONG reptuniq;
|
|
|
|
extern int rptlevel;
|
2011-12-27 00:50:27 +02:00
|
|
|
|
2017-04-20 22:29:31 +03:00
|
|
|
// Exported functions
|
2012-11-26 06:49:46 +02:00
|
|
|
void InitMacro(void);
|
|
|
|
int ExitMacro(void);
|
2012-11-24 21:48:52 +02:00
|
|
|
int DefineMacro(void);
|
2017-07-19 23:27:06 +03:00
|
|
|
int HandleRept(void);
|
2012-11-24 21:48:52 +02:00
|
|
|
int InvokeMacro(SYM *, WORD);
|
2011-12-27 00:50:27 +02:00
|
|
|
|
|
|
|
#endif // __MACRO_H__
|