From 9be1f00a9b67b7862f78372b5964abb0268ac0ae Mon Sep 17 00:00:00 2001 From: Stefan Arentz Date: Mon, 21 Nov 2016 22:58:37 -0500 Subject: [PATCH] Fixes #35 - The STA ABS,X (0x9D) instruction has incorrect length --- ins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ins.c b/ins.c index b4c435a..940f6a0 100644 --- a/ins.c +++ b/ins.c @@ -1007,7 +1007,7 @@ cpu_instruction_t instructions[256] = { /* 0x9a */ { "TXS", 0x9a, 1, 2, 0, (void*) txs }, /* 0x9b */ { "???", 0x9b, 1, 2, 0, (void*) NULL }, /* 0x9c */ { "???", 0x9c, 1, 2, 0, (void*) NULL }, - /* 0x9d */ { "STA", 0x9d, 2, 5, 0, (void*) sta_absx }, + /* 0x9d */ { "STA", 0x9d, 3, 5, 0, (void*) sta_absx }, /* 0x9e */ { "???", 0x9e, 1, 2, 0, (void*) NULL }, /* 0x9f */ { "???", 0x9f, 1, 2, 0, (void*) NULL },