Mercurial > hg-old > index.cgi
diff lwasm/lwasm.h @ 204:048ebb85f6ef
Added 8 bit external references for base page addressing mode
author | lost |
---|---|
date | Sun, 29 Mar 2009 14:52:28 +0000 |
parents | 6ddc861a07d4 |
children | 59a138df0401 |
line wrap: on
line diff
--- a/lwasm/lwasm.h Sun Mar 22 22:11:12 2009 +0000 +++ b/lwasm/lwasm.h Sun Mar 29 14:52:28 2009 +0000 @@ -37,6 +37,7 @@ struct section_reloc_list_s { int offset; // offset into section + int relocsize; // size of relocation in bytes lwasm_expr_stack_t *expr; // value definition int context; // symbol context (for local syms) section_reloc_list_t *next; // next relocation @@ -113,6 +114,7 @@ // the following are used for obj format - for external references, inter-section // references, and intrasection relocations int relocoff; // offset into insn where relocation value goes + int reloc8bit; // size of relocation (0 = 16 bit, 1 = 8 bit) lwasm_expr_stack_t *exprs[4]; // non-constant expression values int exprvals[4]; // constant expression values char *exprends[4]; // pointer to character after end of expression