From e8174de0f193d43d7113efb337167ec53c1452e6 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 11 Dec 2011 23:40:53 +0000 Subject: [PATCH] Fixed an error introduced in revision 4427: The list of 65816 instructions contained two items less than the counter said (because in 4427 two were deleted without adjusting the counter). Depending on the compilers implementation of bsearch(), some of the 65826 instructions were not found when searching the table. git-svn-id: svn://svn.cc65.org/cc65/trunk@5310 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/instr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ca65/instr.c b/src/ca65/instr.c index 39c32f2ea..95bff155a 100644 --- a/src/ca65/instr.c +++ b/src/ca65/instr.c @@ -479,7 +479,7 @@ static const struct { /* Instruction table for the 65816 */ static const struct { unsigned Count; - InsDesc Ins[101]; + InsDesc Ins[99]; } InsTab65816 = { sizeof (InsTab65816.Ins) / sizeof (InsTab65816.Ins[0]), {