From: uz Date: Sun, 4 Mar 2012 13:01:50 +0000 (+0000) Subject: The table for sweet 16 instructions had an invalid length word. Reported by X-Git-Tag: V2.14~491 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bdeefe31e51d1a860165bc168f893f068522c3e1;p=cc65 The table for sweet 16 instructions had an invalid length word. Reported by Jeff Tranter. git-svn-id: svn://svn.cc65.org/cc65/trunk@5572 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/instr.c b/src/ca65/instr.c index c4513b92a..2cebfecff 100644 --- a/src/ca65/instr.c +++ b/src/ca65/instr.c @@ -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]), {