From 92f5fc88e5c7863875311853f79c4a7324004223 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Tue, 17 Nov 2020 12:43:25 -0300 Subject: [PATCH] Fix wrong array size --- assembler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assembler.c b/assembler.c index 8501a6d..53ee997 100644 --- a/assembler.c +++ b/assembler.c @@ -13,8 +13,8 @@ #define INST_LIMIT 32768 #define CMP_SIZE 8 -#define CMP_TABLE_SIZE 28 -const char* cmptable[] = +#define CMP_TABLE_SIZE 37 +const char* cmptable[CMP_TABLE_SIZE] = { "0", "0101010", "1", "0111111",