Mercurial > hg-old > index.cgi
diff src/instab.h @ 57:035b95a3690f
Added conditional assembly and macros
author | lost |
---|---|
date | Mon, 05 Jan 2009 00:01:21 +0000 |
parents | f736579569b4 |
children | d85ba47b1e8f |
line wrap: on
line diff
--- a/src/instab.h Sun Jan 04 21:43:05 2009 +0000 +++ b/src/instab.h Mon Jan 05 00:01:21 2009 +0000 @@ -31,6 +31,8 @@ char *opcode; /* the mneumonic */ int ops[4]; /* opcode values for up to four addr modes */ void (*fn)(asmstate_t *as, lwasm_line_t *l, char **optr, int opnum); + int iscond; /* set if this should be dispatched even if skipping a condition/macro */ + int endm; /* end of macro? */ } instab_t; #define OPFUNC(fn) void (fn)(asmstate_t *as, lwasm_line_t *l, char **p, int opnum)