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);