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
|
|
|
// PROCLN.H - Line Processing
|
2022-05-31 01:40:19 +03:00
|
|
|
// Copyright (C) 199x Landon Dyer, 2011-2022 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 __PROCLN_H__
|
|
|
|
#define __PROCLN_H__
|
|
|
|
|
|
|
|
#include "rmac.h"
|
|
|
|
#include "token.h"
|
|
|
|
|
2020-01-16 11:47:59 +02:00
|
|
|
// Imported functions
|
|
|
|
int m_ptestr(WORD inste, WORD siz);
|
|
|
|
int m_ptestw(WORD inste, WORD siz);
|
|
|
|
|
2017-04-20 22:29:31 +03:00
|
|
|
// Exported variables
|
2013-03-05 19:47:22 +02:00
|
|
|
extern const char comma_error[];
|
|
|
|
extern const char locgl_error[];
|
|
|
|
extern const char syntax_error[];
|
|
|
|
extern const char extra_stuff[];
|
2011-12-27 00:50:27 +02:00
|
|
|
extern int just_bss;
|
2017-08-29 20:20:17 +03:00
|
|
|
extern uint32_t pcloc;
|
2012-01-20 00:28:32 +02:00
|
|
|
extern SYM * lab_sym;
|
2011-12-27 00:50:27 +02:00
|
|
|
extern LONG amsktab[];
|
2017-07-19 23:27:06 +03:00
|
|
|
extern IFENT * ifent;
|
|
|
|
extern IFENT * f_ifent;
|
|
|
|
extern int disabled;
|
2011-12-27 00:50:27 +02:00
|
|
|
|
2017-04-20 22:29:31 +03:00
|
|
|
// Exported functions
|
2013-03-05 19:47:22 +02:00
|
|
|
void InitLineProcessor(void);
|
2012-11-26 06:49:46 +02:00
|
|
|
void Assemble(void);
|
2011-12-27 00:50:27 +02:00
|
|
|
|
2011-12-27 01:54:45 +02:00
|
|
|
#endif // __PROCLN_H__
|
2017-04-20 22:29:31 +03:00
|
|
|
|