diff --git a/arch/X86/X86Mapping.c b/arch/X86/X86Mapping.c index 94cd9dc825..d98f2afea0 100644 --- a/arch/X86/X86Mapping.c +++ b/arch/X86/X86Mapping.c @@ -3122,7 +3122,7 @@ static bool valid_repne(cs_struct *h, unsigned int opcode) return true; case X86_INS_MOVSD: - if (opcode == X86_MOVSW) // REP MOVSB + if (opcode == X86_MOVSL) // REP MOVSD return true; return false;