changeset 134:09021ba6d755

Fixed length bug in tfm
author lost@l-w.ca
date Wed, 17 Aug 2011 19:44:26 -0600
parents 3c1a80c2fb95
children fe117454a1e7
files lwasm/insn_tfm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)