From 83b41ea628b776e186834eb0f5a44e3cb0306ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Fri, 4 Mar 2011 15:54:11 +0000 Subject: [PATCH] normal core IN AX,Ib should use full 16bit target register (thanks to danoon for spotting this) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3680 --- src/cpu/core_normal/prefix_none.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/core_normal/prefix_none.h b/src/cpu/core_normal/prefix_none.h index 5e12ba56..1a6d164f 100644 --- a/src/cpu/core_normal/prefix_none.h +++ b/src/cpu/core_normal/prefix_none.h @@ -879,7 +879,7 @@ { Bitu port=Fetchb(); if (CPU_IO_Exception(port,2)) RUNEXCEPTION(); - reg_al=IO_ReadW(port); + reg_ax=IO_ReadW(port); break; } CASE_B(0xe6) /* OUT Ib,AL */