X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=mach.h;h=0e55fe877d54428c372134f0636cff0c0d4f2142;hp=9add0a351ef7c0504eec12e5100b48e754a7dc72;hb=5f23454f7155f0c77ea1bede3f9e60b39da99fa8;hpb=b10167d55798ea184f97fafda075255c0852f3b6 diff --git a/mach.h b/mach.h index 9add0a3..0e55fe8 100644 --- a/mach.h +++ b/mach.h @@ -1,23 +1,35 @@ // // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // MACH.H - Code Generation -// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __MACH_H__ #define __MACH_H__ #include "rmac.h" -#include "amode.h" -// Globals, Externals etc +// 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[]; 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__ +