summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-10-27 08:42:43 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-10-27 08:42:43 (GMT)
commit796eeff64b782b2b83f645a1a57ac684eb5ec76a (patch)
tree53d91fd7fabf0361aef9e816532b8b2323736a28
parent8f44cfe35892e3f4e73eb7a72b132758e6f6c88a (diff)
downloadabc80sim-796eeff64b782b2b83f645a1a57ac684eb5ec76a.zip
abc80sim-796eeff64b782b2b83f645a1a57ac684eb5ec76a.tar.gz
abc80sim-796eeff64b782b2b83f645a1a57ac684eb5ec76a.tar.bz2
abc80sim-796eeff64b782b2b83f645a1a57ac684eb5ec76a.tar.xz
z80: at least one source has ED 4E and ED 6E as IM 0
... so go with it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--z80.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/z80.c b/z80.c
index 97c7dbb..e2d82ec 100644
--- a/z80.c
+++ b/z80.c
@@ -2304,6 +2304,8 @@ static void do_ED_instruction(wordregister *ix)
case 0x46: /* im 0 */
case 0x66:
+ case 0x4E:
+ case 0x6E:
do_im0();
break;
case 0x56: /* im 1 */