changeset 112:3fc568436721

Correct size handling for mod and emod
author lost@l-w.ca
date Sun, 07 Aug 2011 12:15:56 -0600
parents c0aedb1584af
children 7e621e00b887
files lwasm/os9.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/os9.c	Sun Aug 07 10:49:28 2011 -0600
+++ b/lwasm/os9.c	Sun Aug 07 12:15:56 2011 -0600
@@ -116,6 +116,8 @@
 
 	// init crc
 	as -> inmod = 1;
+	
+	l -> len = 13;
 }
 
 EMITFUNC(pseudo_emit_mod)
@@ -175,6 +177,7 @@
 	}
 	
 	as -> inmod = 0;
+	l -> len = 3;
 }
 
 EMITFUNC(pseudo_emit_emod)