diff options
-rw-r--r-- | DevTools/UserspaceEmulator/SoftCPU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/UserspaceEmulator/SoftCPU.cpp b/DevTools/UserspaceEmulator/SoftCPU.cpp index b9a215dea1..73323d322d 100644 --- a/DevTools/UserspaceEmulator/SoftCPU.cpp +++ b/DevTools/UserspaceEmulator/SoftCPU.cpp @@ -2138,7 +2138,7 @@ void SoftCPU::XCHG_AX_reg16(const X86::Instruction& insn) { auto temp = gpr16(insn.reg16()); gpr16(insn.reg16()) = eax(); - set_eax(temp); + set_ax(temp); } void SoftCPU::XCHG_EAX_reg32(const X86::Instruction& insn) |