From c90b99d650d46cf3b128d0757a6e77ff3d2e4de2 Mon Sep 17 00:00:00 2001 From: Godzil Date: Fri, 16 Apr 2021 00:33:48 +0100 Subject: [PATCH] Fix table size. --- source/nec/nec_debugger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nec/nec_debugger.c b/source/nec/nec_debugger.c index 75b46f4..46b460d 100644 --- a/source/nec/nec_debugger.c +++ b/source/nec/nec_debugger.c @@ -327,7 +327,7 @@ typedef enum modrmValues const char *modrmReg8List[8] = { "al", "cl", "dl", "bl", "ah", "ch", "dh", "bh" }; const char *modrmReg16List[8] = { "ax", "cx", "dx", "bx", "sp", "bp", "si", "di" }; -const char *segmentRegList[4] = { "es", "cs", "ss", "ds", "ILLEGAL", "ILLEGAL", "ILLEGAL", "ILLEGAL" }; +const char *segmentRegList[8] = { "es", "cs", "ss", "ds", "ILLEGAL", "ILLEGAL", "ILLEGAL", "ILLEGAL" }; static inline void get_mod_reg_rm(uint8_t value, uint8_t *mod, uint8_t *reg, uint8_t *rm, uint8_t *modrm) { if (mod)