65816: fixed instruction, address mode typos

This commit is contained in:
Rob McMullen 2016-03-03 23:19:44 -08:00
parent 8d9c3a51d4
commit 6acdf2cdeb
1 changed files with 7 additions and 7 deletions

View File

@ -34,10 +34,10 @@ addressModeTable = {
"absoluteindexedindirect" : "(${1:02X}{0:02X},x)",
"stackrelative" : "${0:02X},s",
"stackrelativeindirecty" : "(${0:02X},s),y",
"absolutelong" : "${2:02X}${1:02X}{0:02X}",
"absolutelongx" : "${2:02X}${1:02X}{0:02X},x",
"absoluteindirectx" : "(${1:02X}${0:02X},x)",
"absoluteindirectlong" : "[${1:02X}${0:02X}]",
"absolutelong" : "${2:02X}{1:02X}{0:02X}",
"absolutelongx" : "${2:02X}{1:02X}{0:02X},x",
"absoluteindirectx" : "(${1:02X}{0:02X},x)",
"absoluteindirectlong" : "[${1:02X}{0:02X}]",
"directpageindirect" : "(${0:02X})",
"directpageindirectlong" : "[${0:02X}]",
"directpageindirectlongy" : "[${0:02X}],y",
@ -58,7 +58,7 @@ addressModeTable = {
opcodeTable = {
0x00 : [ 1, "brk", "implicit" ],
0x01 : [ 2, "ora", "indirectx" ],
0x02 : [ 2, "cop", "implicit" ],
0x02 : [ 2, "cop", "zeropage" ],
0x03 : [ 2, "ora", "stackrelative" ],
0x04 : [ 2, "tsb", "zeropage" ],
0x05 : [ 2, "ora", "zeropage" ],
@ -135,7 +135,7 @@ opcodeTable = {
0x48 : [ 1, "pha", "implicit" ],
0x49 : [ 2, "eor", "immediate" ],
0x4a : [ 1, "lsr", "accumulator" ],
0x4b : [ 1, "phk", "stack (push)" ],
0x4b : [ 1, "phk", "implicit" ],
0x4c : [ 3, "jmp", "absolute" ],
0x4d : [ 3, "eor", "absolute" ],
0x4e : [ 3, "lsr", "absolute" ],
@ -173,7 +173,7 @@ opcodeTable = {
0x6c : [ 3, "jmp", "indirect" ],
0x6d : [ 3, "adc", "absolute" ],
0x6e : [ 3, "ror", "absolute" ],
0x6f : [ 4, "adc", "absolutelong" ],
0x6f : [ 4, "adc", "absolutelong" ],
0x70 : [ 2, "bvs", "relative", pcr ],
0x71 : [ 2, "adc", "indirecty" ],