diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-10-12 15:18:42 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-10-12 15:18:42 +0200 |
| commit | a068e5ace6374583f79973374a7581b0d87a47dd (patch) | |
| tree | b2bd93bc2d2f9bf994e5898c2b72f54ad5e5e655 /src/code/sim86.cpp | |
| parent | ea20bd9b5bcff9db1d86d83188e1e899799f324b (diff) | |
checkpoint
Diffstat (limited to 'src/code/sim86.cpp')
| -rw-r--r-- | src/code/sim86.cpp | 14 |
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 { |
