Fixed for Z80.

This commit is contained in:
Jeff Tranter 2018-09-09 18:07:30 -04:00
parent f41e99dfa7
commit c5302b630a
2 changed files with 63 additions and 63 deletions

6
z80.py
View File

@ -217,7 +217,7 @@ addressModeTable = {
"indhl,e" : "(hl),e",
"indhl,h" : "(hl),h",
"indhl,l" : "(hl),l",
"indhl,n" : "(hl),(${0:02X})",
"indhl,n" : "(hl),${0:02X}",
"indix+d" : "(ix+${0:02X})",
"indix+d,a" : "(ix+${0:02X}),a",
"indiy+d,a" : "(iy+${0:02X}),a",
@ -518,7 +518,7 @@ opcodeTable = {
0xc3 : [ 3, "jp", "nn" ],
0xc4 : [ 3, "call","nz,nn" ],
0xc5 : [ 1, "push","bc" ],
0xc6 : [ 2, "ada", "a,n" ],
0xc6 : [ 2, "add", "a,n" ],
0xc7 : [ 1, "rst", "00" ],
0xc8 : [ 1, "ret", "z" ],
0xc9 : [ 1, "ret", "implied" ],
@ -755,7 +755,7 @@ opcodeTable = {
0xcbac : [ 2, "res", "5,h" ],
0xcbad : [ 2, "res", "5,l" ],
0xcbae : [ 2, "res", "5,indhl" ],
0xcbaf : [ 2, "res", "a,b" ],
0xcbaf : [ 2, "res", "5,a" ],
0xcbb0 : [ 2, "res", "6,b" ],
0xcbb1 : [ 2, "res", "6,c" ],