]> Shamusworld >> Repos - rmac/blobdiff - mach.h
Multiple fixes for 020+ mode, including:
[rmac] / mach.h
diff --git a/mach.h b/mach.h
index b95636e7d525b7375922f6d57b9d49f149d5213b..55e089d6af0399028c8655d6196e6bd0969feb1c 100644 (file)
--- 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-2017 Reboot and Friends
 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
 // Source utilised with the kind permission of Landon Dyer
 //
@@ -9,7 +9,17 @@
 #ifndef __MACH_H__
 #define __MACH_H__
 
-#include "amode.h"
+#include "rmac.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[];
@@ -17,6 +27,7 @@ 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;