diff lwasm/insn_tfm.c @ 134:09021ba6d755

Fixed length bug in tfm
author lost@l-w.ca
date Wed, 17 Aug 2011 19:44:26 -0600
parents 2c24602be78f
children 8764142b3192
line wrap: on
line diff
--- a/lwasm/insn_tfm.c	Fri Aug 12 00:03:07 2011 -0600
+++ b/lwasm/insn_tfm.c	Wed Aug 17 19:44:26 2011 -0600
@@ -106,7 +106,7 @@
 		return;
 	}
 	l -> pb = (r0 << 4) | r1;
-	l -> len = OPLEN(l -> lint);
+	l -> len = OPLEN(l -> lint) + 1;
 }
 
 EMITFUNC(insn_emit_tfm)