Skip to content

Commit 979f7ec

Browse files
committed
Small fix in simple_x86
1 parent 91c468e commit 979f7ec

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

windows/native_exec/simple_x86.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,16 +892,19 @@ class CmpsB(Instruction):
892892
default_32_bits = True
893893
encoding = [(RawBits.from_int(8, 0xa6),)]
894894

895+
cmpsw = CmpsB # Allow use in assemble (use Capitalize) : todo cleaner
895896

896897
class CmpsW(Instruction):
897898
default_32_bits = True
898899
encoding = [(RawBits.from_int(16, 0x66A7),)]
899900

901+
Cmpsw = CmpsW # Allow use in assemble (use Capitalize) : todo cleaner
900902

901903
class CmpsD(Instruction):
902904
default_32_bits = True
903905
encoding = [(RawBits.from_int(8, 0xa7),)]
904906

907+
Cmpsd = CmpsD # Allow use in assemble (use Capitalize) : todo cleaner
905908

906909
class Nop(Instruction):
907910
encoding = [(RawBits.from_int(8, 0x90),)]

0 commit comments

Comments
 (0)