From da2aea94e3a71915b31d4eab24e82c6d7774e970 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 31 Oct 2023 21:58:32 -0400 Subject: [PATCH] Fix CMPS. --- InstructionSets/x86/Implementation/PerformImplementation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstructionSets/x86/Implementation/PerformImplementation.hpp b/InstructionSets/x86/Implementation/PerformImplementation.hpp index 3e24922b0..0fd1657ee 100644 --- a/InstructionSets/x86/Implementation/PerformImplementation.hpp +++ b/InstructionSets/x86/Implementation/PerformImplementation.hpp @@ -1408,7 +1408,7 @@ void cmps(const InstructionT &instruction, AddressT &eCX, AddressT &eSI, Address } IntT lhs = memory.template access(instruction.data_segment(), eSI); - const IntT rhs = memory.template access(Source::ES, eDI); + const IntT rhs = memory.template access(Source::ES, eDI); eSI += status.direction() * sizeof(IntT); eDI += status.direction() * sizeof(IntT);