aboutsummaryrefslogtreecommitdiffstats
path: root/tools/z80dis.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@trantor.hos.anvin.org>2008-12-27 13:25:21 -0800
committerH. Peter Anvin <hpa@trantor.hos.anvin.org>2008-12-27 13:25:21 -0800
commitfa8a8c8ac12ff07ad4f73bc874be6f1a2f3a67ea (patch)
treeb9791d872e96a50487d38afe1342a39699305bff /tools/z80dis.c
parent22f75426276baaad9a3f99d4688bf9359aca6a3f (diff)
downloadabc80-fa8a8c8ac12ff07ad4f73bc874be6f1a2f3a67ea.tar.gz
abc80-fa8a8c8ac12ff07ad4f73bc874be6f1a2f3a67ea.tar.xz
abc80-fa8a8c8ac12ff07ad4f73bc874be6f1a2f3a67ea.zip
z80dis: use the standard mnemonics JP (HL), JP (IX), JP (IY)
The author of z80dis used "LD PC,HL" etc, use "JP (HL)" as is the standard opcode instead.
Diffstat (limited to 'tools/z80dis.c')
-rw-r--r--tools/z80dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/z80dis.c b/tools/z80dis.c
index 42aa52c..fb26c89 100644
--- a/tools/z80dis.c
+++ b/tools/z80dis.c
@@ -35,7 +35,7 @@ char *Mnemonics[256] =
"RET NC","POP DE","JP NC,#h","OUT (*h),A","CALL NC,#h","PUSH DE","SUB *h","RST 10h",
"RET C","EXX","JP C,#h","IN A,(*h)","CALL C,#h","PFX_DD","SBC *h","RST 18h",
"RET PO","POP HL","JP PO,#h","EX HL,(SP)","CALL PO,#h","PUSH HL","AND *h","RST 20h",
- "RET PE","LD PC,HL","JP PE,#h","EX DE,HL","CALL PE,#h","PFX_ED","XOR *h","RST 28h",
+ "RET PE","JP (HL)","JP PE,#h","EX DE,HL","CALL PE,#h","PFX_ED","XOR *h","RST 28h",
"RET P","POP AF","JP P,#h","DI","CALL P,#h","PUSH AF","OR *h","RST 30h",
"RET M","LD SP,HL","JP M,#h","EI","CALL M,#h","PFX_FD","CP *h","RST 38h"
};
@@ -143,7 +143,7 @@ char *MnemonicsXX[256] =
"RET NC","POP DE","JP NC,#h","OUT (*h),A","CALL NC,#h","PUSH DE","SUB *h","RST 10h",
"RET C","EXX","JP C,#h","IN A,(*h)","CALL C,#h","PFX_DD","SBC *h","RST 18h",
"RET PO","POP I%","JP PO,#h","EX I%,(SP)","CALL PO,#h","PUSH I%","AND *h","RST 20h",
- "RET PE","LD PC,I%","JP PE,#h","EX DE,I%","CALL PE,#h","PFX_ED","XOR *h","RST 28h",
+ "RET PE","JP (I%)","JP PE,#h","EX DE,I%","CALL PE,#h","PFX_ED","XOR *h","RST 28h",
"RET P","POP AF","JP P,#h","DI","CALL P,#h","PUSH AF","OR *h","RST 30h",
"RET M","LD SP,I%","JP M,#h","EI","CALL M,#h","PFX_FD","CP *h","RST 38h"
};