diff lwasm/insn_indexed.c @ 243:65510f1574e4 lwtools-4.7

Fix error with [,u] in 6809-only mode Fix error in short circuit lookup table for indexing modes when using forced 6809 mode which prevented [,u] from working. This did not affect the default 6309-enabled mode.
author William Astle <lost@l-w.ca>
date Thu, 06 Dec 2012 10:53:21 -0700
parents c45f23ae79e6
children 3c421f24c9b8
line wrap: on
line diff
--- a/lwasm/insn_indexed.c	Sun Sep 23 13:11:34 2012 -0600
+++ b/lwasm/insn_indexed.c	Thu Dec 06 10:53:21 2012 -0700
@@ -82,7 +82,7 @@
 		{"b,x", 0x85},		{"b,y", 0xa5},		{"b,u", 0xc5},		{"b,s", 0xe5},
 		{"d,x", 0x8b},		{"d,y", 0xab},		{"d,u", 0xcb},		{"d,s", 0xed},
 		
-		{"[,x]", 0x94},		{"[,y]", 0xb4},		{"[,u", 0xd4},		{"[,s]", 0xf4},
+		{"[,x]", 0x94},		{"[,y]", 0xb4},		{"[,u]", 0xd4},		{"[,s]", 0xf4},
 		{"[,x++]", 0x91},	{"[,y++]", 0xb1},	{"[,u++]", 0xd1},	{"[,s++]", 0xf1},
 		{"[,--x]", 0x93},	{"[,--y]", 0xb3},	{"[,--u]", 0xd3},	{"[,--s]", 0xf3},
 		{"[a,x]", 0x96},	{"[a,y]", 0xb6},	{"[a,u]", 0xd6},	{"[a,s]", 0xf6},