mirror of
https://github.com/jefftranter/udis.git
synced 2024-12-27 04:29:35 +00:00
65816: fixed instruction, address mode typos
This commit is contained in:
parent
8d9c3a51d4
commit
6acdf2cdeb
12
65816.py
12
65816.py
@ -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" ],
|
||||
|
Loading…
Reference in New Issue
Block a user