diff lwasm/lwasm.h @ 61:ccaecdff3fc2

Make structure definitions not affect current assembly address and fix up cosmetic offset display in listings
author lost@l-w.ca
date Wed, 06 Apr 2011 21:35:49 -0600
parents cb4efc47ce9d
children ceab04fd2969
line wrap: on
line diff
--- a/lwasm/lwasm.h	Wed Apr 06 20:31:37 2011 -0600
+++ b/lwasm/lwasm.h	Wed Apr 06 21:35:49 2011 -0600
@@ -282,7 +282,7 @@
 
 	structtab_t *structs;				// defined structures
 	structtab_t *cstruct;				// current structure
-	
+	lw_expr_t savedaddr;				// old address counter before struct started	
 	int exportcheck;					// set if we need to collapse out the section base to 0
 };