z80: fixed opcodes dd39 and fd39

This commit is contained in:
Rob McMullen 2016-02-24 16:21:48 -08:00
parent 3da079f80f
commit 07b867badd
1 changed files with 4 additions and 3 deletions

7
z80.py
View File

@ -246,6 +246,7 @@ addressModeTable = {
"ix,de" : "ix,de",
"ix,indaa" : "ix,(${1:02X}{0:02X})",
"ix,ix" : "ix,ix",
"ix,sp" : "ix,sp",
"iy" : "iy",
"iy,aa" : "iy,${1:02X}{0:02X}",
"iy,bc" : "iy,bc",
@ -254,6 +255,7 @@ addressModeTable = {
"iy,indaa" : "iy,(${1:02X}{0:02X})",
"iy,indaa" : "iy,(${1:02X}{0:02X})",
"iy,iy" : "iy,iy",
"iy,sp" : "iy,sp",
"l" : "l",
"l,a" : "l,a",
"l,b" : "l,b",
@ -292,7 +294,6 @@ addressModeTable = {
"sp,hl" : "sp,hl",
"sp,indaa" : "sp,(${1:02X}{0:02X})",
"sp,nn" : "sp,${1:02X}{0:02X}",
"xy,sp" : "xy,sp",
"z" : "z",
"z,pcr" : "z,${0:04X}",
"z,nn" : "z,${1:02X}{0:02X}",
@ -853,7 +854,7 @@ opcodeTable = {
0xdd34 : [ 3, "inc", "indix+d" ],
0xdd35 : [ 3, "dec", "indix+d" ],
0xdd36 : [ 4, "ld", "indix+d,n" ],
0xdd39 : [ 2, "add", "xy,sp" ],
0xdd39 : [ 2, "add", "ix,sp" ],
0xdd46 : [ 3, "ld", "b,indix+d" ],
0xdd4e : [ 3, "ld", "c,indix+d" ],
0xdd56 : [ 3, "ld", "d,indix+d" ],
@ -951,7 +952,7 @@ opcodeTable = {
0xfd34 : [ 3, "inc", "indiy+d" ],
0xfd35 : [ 3, "dec", "indiy+d" ],
0xfd36 : [ 4, "ld", "indiy+d,n" ],
0xfd39 : [ 2, "add", "xy,sp" ],
0xfd39 : [ 2, "add", "iy,sp" ],
0xfd46 : [ 3, "ld", "b,indiy+d" ],
0xfd4e : [ 3, "ld", "c,indiy+d" ],
0xfd56 : [ 3, "ld", "d,indiy+d" ],