summaryrefslogtreecommitdiff
path: root/src/code/sim86.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/sim86.cpp')
-rw-r--r--src/code/sim86.cpp14
1 files changed, 13 insertions, 1 deletions
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
{