diff lwasm/os9.c @ 112:3fc568436721

Correct size handling for mod and emod
author lost@l-w.ca
date Sun, 07 Aug 2011 12:15:56 -0600
parents 2c24602be78f
children 697bc543368c
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)