capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.57k stars 1.55k forks source link

incorrect disassemble of repe cmpsw ( 66 F3 A7 ) #1210

Open pgyzhu opened 6 years ago

pgyzhu commented 6 years ago

66 F3 A7 is disassembled as repe cmpsd It should be repe cmpsw

aquynh commented 5 years ago

fixed now in the "next" branch:

$ cstool x32 "66 F3 A7"
 0  66 f3 a7                repe cmpsw  word ptr [esi], word ptr es:[edi]