]> git.sur5r.net Git - cc65/commitdiff
The table for sweet 16 instructions had an invalid length word. Reported by
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 4 Mar 2012 13:01:50 +0000 (13:01 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 4 Mar 2012 13:01:50 +0000 (13:01 +0000)
Jeff Tranter.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5572 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/instr.c

index c4513b92ab8fe2bf02b0e8a171a287d87ab71f53..2cebfecffe07cf22cc339750b233687f9cf67988 100644 (file)
@@ -593,7 +593,7 @@ static const struct {
 /* Instruction table for the SWEET16 pseudo CPU */
 static const struct {
     unsigned Count;
-    InsDesc  Ins[27];
+    InsDesc  Ins[26];
 } InsTabSweet16 = {
     sizeof (InsTabSweet16.Ins) / sizeof (InsTabSweet16.Ins[0]),
     {