X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=mach.h;h=4f6851d1842b837c3a4b06ebcb076feeb2fe3ab2;hp=46b5db3cd6a3c6f68ca4f9d1aee0162a8cb2b2c6;hb=4205233c8397c581b4d27ab36ab81ec896ef3dd0;hpb=60f204cb9e3905100da0d89f14bb40db764acd9e diff --git a/mach.h b/mach.h index 46b5db3..4f6851d 100644 --- a/mach.h +++ b/mach.h @@ -1,7 +1,7 @@ // -// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System +// RMAC - Reboot's Macro Assembler for all Atari computers // MACH.H - Code Generation -// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -10,7 +10,16 @@ #define __MACH_H__ #include "rmac.h" -#include "amode.h" + +// Mnemonic table structure +#define MNTAB struct _mntab +MNTAB { + WORD mnattr; // Attributes (CGSPECIAL, SIZN, ...) + LONG mn0, mn1; // Addressing modes + WORD mninst; // Instruction mask + WORD mncont; // Continuation (or -1) + int (* mnfunc)(WORD, WORD); // Mnemonic builder +}; // Exported variables extern char seg_error[]; @@ -18,7 +27,9 @@ extern char undef_error[]; extern char rel_error[]; extern char range_error[]; extern char abs_error[]; +extern char unsupport[]; extern MNTAB machtab[]; +extern int movep; #endif // __MACH_H__