X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=mach.h;h=0e55fe877d54428c372134f0636cff0c0d4f2142;hp=834f3bd2cc5b0098611678ee061364ee86f37176;hb=5f23454f7155f0c77ea1bede3f9e60b39da99fa8;hpb=f33d7fdb41ccdda027c33c5358a3826bef83967b diff --git a/mach.h b/mach.h index 834f3bd..0e55fe8 100644 --- a/mach.h +++ b/mach.h @@ -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,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;