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
|
|
|
// DIRECT.H - Directive Handling
|
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 __DIRECT_H__
|
|
|
|
#define __DIRECT_H__
|
|
|
|
|
|
|
|
#include "rmac.h"
|
2017-11-21 15:54:55 +02:00
|
|
|
#include "token.h"
|
2011-12-27 00:50:27 +02:00
|
|
|
|
2019-08-29 15:09:37 +03:00
|
|
|
// Imported variables
|
|
|
|
|
|
|
|
extern char * label_defined;
|
|
|
|
|
2017-04-20 22:29:31 +03:00
|
|
|
// Exported variables
|
2017-11-29 15:57:58 +02:00
|
|
|
extern TOKEN exprbuf[];
|
2012-11-24 21:48:52 +02:00
|
|
|
extern SYM * symbolPtr[];
|
2012-11-23 18:39:09 +02:00
|
|
|
extern int (* dirtab[])();
|
2017-08-29 20:20:17 +03:00
|
|
|
extern int largestAlign[];
|
2011-12-27 00:50:27 +02:00
|
|
|
|
2017-04-20 22:29:31 +03:00
|
|
|
// Exported functions
|
2011-12-27 00:50:27 +02:00
|
|
|
void auto_even(void);
|
2017-11-29 15:57:58 +02:00
|
|
|
int dep_block(uint32_t, WORD, uint32_t, WORD, TOKEN *);
|
2011-12-27 00:50:27 +02:00
|
|
|
int eject(void);
|
2017-10-08 16:40:02 +03:00
|
|
|
int abs_expr(uint64_t *);
|
2017-04-20 22:29:31 +03:00
|
|
|
int symlist(int(*)());
|
|
|
|
|
|
|
|
int d_even(void);
|
2011-12-27 00:50:27 +02:00
|
|
|
int d_long(void);
|
|
|
|
int d_phrase(void);
|
|
|
|
int d_dphrase(void);
|
|
|
|
int d_qphrase(void);
|
|
|
|
|
2017-07-19 23:27:06 +03:00
|
|
|
int d_if(void);
|
|
|
|
int d_else(void);
|
|
|
|
int d_endif(void);
|
|
|
|
|
2017-11-29 21:28:44 +02:00
|
|
|
int d_68000(void);
|
|
|
|
int d_68000(void);
|
|
|
|
int d_68020(void);
|
|
|
|
int d_68030(void);
|
|
|
|
int d_68040(void);
|
|
|
|
int d_68060(void);
|
|
|
|
int d_68881(void);
|
|
|
|
int d_68882(void);
|
|
|
|
int d_56001(void);
|
|
|
|
int d_gpu(void);
|
|
|
|
int d_dsp(void);
|
|
|
|
|
2011-12-27 00:50:27 +02:00
|
|
|
#endif // __DIRECT_H__
|
2017-04-20 22:29:31 +03:00
|
|
|
|