aboutsummaryrefslogtreecommitdiffstats
path: root/tools/z80dis.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-04 18:44:59 -0800
committerH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-04 18:44:59 -0800
commit6fc2802cee1f6779d4257c990d0a7bd2a532ee4d (patch)
tree9af8688c060d4ba082ed5310c64ef1f2806b4880 /tools/z80dis.c
parent88ead2b6e4144749ef0e1f761dfdde3c4b16fa7f (diff)
downloadabc80-6fc2802cee1f6779d4257c990d0a7bd2a532ee4d.tar.gz
abc80-6fc2802cee1f6779d4257c990d0a7bd2a532ee4d.tar.xz
abc80-6fc2802cee1f6779d4257c990d0a7bd2a532ee4d.zip
z80dis: fix a bug disassembling code with IXL
Diffstat (limited to 'tools/z80dis.c')
-rw-r--r--tools/z80dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/z80dis.c b/tools/z80dis.c
index 774b61f..c734d1f 100644
--- a/tools/z80dis.c
+++ b/tools/z80dis.c
@@ -130,7 +130,7 @@ char *MnemonicsXX[256] =
"LD I%H,B","LD I%H,C","LD I%H,D","LD I%H,E","LD I%H,I%H","LD I%H,I%L","LD H,(I%+h)","LD I%H,A",
"LD I%L,B","LD I%L,C","LD I%L,D","LD I%L,E","LD I%L,I%H","LD I%L,I%L","LD L,(I%+h)","LD I%L,A",
"LD (I%+h),B","LD (I%+h),C","LD (I%+h),D","LD (I%+h),E","LD (I%+h),H","LD (I%+h),L","HALT","LD (I%+h),A",
- "LD A,B","LD A,C","LD A,D","LD A,E","LD A,I%H","LD A,L","LD A,(I%+h)","LD A,A",
+ "LD A,B","LD A,C","LD A,D","LD A,E","LD A,I%H","LD A,I%L","LD A,(I%+h)","LD A,A",
"ADD B","ADD C","ADD D","ADD E","ADD I%H","ADD I%L","ADD (I%+h)","ADD A",
"ADC B","ADC C","ADC D","ADC E","ADC I%H","ADC I%L","ADC (I%+h)","ADC,A",
"SUB B","SUB C","SUB D","SUB E","SUB I%H","SUB I%L","SUB (I%+h)","SUB A",