From 979f7ec77a58b054ffbd98e4675a0b259cfad3c0 Mon Sep 17 00:00:00 2001 From: hakril Date: Wed, 23 Oct 2024 09:56:06 +0200 Subject: [PATCH] Small fix in simple_x86 --- windows/native_exec/simple_x86.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/windows/native_exec/simple_x86.py b/windows/native_exec/simple_x86.py index 873692f..29df64d 100644 --- a/windows/native_exec/simple_x86.py +++ b/windows/native_exec/simple_x86.py @@ -892,16 +892,19 @@ class CmpsB(Instruction): default_32_bits = True encoding = [(RawBits.from_int(8, 0xa6),)] +cmpsw = CmpsB # Allow use in assemble (use Capitalize) : todo cleaner class CmpsW(Instruction): default_32_bits = True encoding = [(RawBits.from_int(16, 0x66A7),)] +Cmpsw = CmpsW # Allow use in assemble (use Capitalize) : todo cleaner class CmpsD(Instruction): default_32_bits = True encoding = [(RawBits.from_int(8, 0xa7),)] +Cmpsd = CmpsD # Allow use in assemble (use Capitalize) : todo cleaner class Nop(Instruction): encoding = [(RawBits.from_int(8, 0x90),)]