From a068e5ace6374583f79973374a7581b0d87a47dd Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 12 Oct 2025 15:18:42 +0200 Subject: checkpoint --- src/code/sim86.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/code/sim86.cpp') diff --git a/src/code/sim86.cpp b/src/code/sim86.cpp index e7cc2da..0fca8a5 100644 --- a/src/code/sim86.cpp +++ b/src/code/sim86.cpp @@ -75,7 +75,19 @@ Run8086(psize DisassemblySize, u8 *Disassembly) Assert(0); } - *Destination = *Source; + if(Decoded.Flags & Inst_Wide) + { + s32 Old = *Destination; + *Destination = *Source; + + printf("%4x->%4x\n", Old, *Destination); + + } + else + { + Assert(0); + } + } else { -- cgit v1.2.3-70-g09d2