diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2023-07-29 13:24:03 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-08-02 01:08:29 +0100 |
commit | 472b37fbf06e3588ff8ec9496aef44758ebf1bc3 (patch) | |
tree | 39dc5411507cb967de6a6ee4b99d60e5670a1826 /src/x86.c | |
parent | 1e310fa30a1bca4448f47116f5d05037cc2ada1a (diff) |
Fix another x86 case and add regression tests
Diffstat (limited to 'src/x86.c')
-rw-r--r-- | src/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ P: X86_SEG_PREFIXES(CASES) case X86_CRAZY8: operandlen = 1; case X86_CRAZYW: if ((insn[1] & 0x38) >= 0x10) operandlen = 0; - return pfxlen + 2 + operandlen + mrmsib(insn + 1, addrlen); + return pfxlen + 1 + operandlen + mrmsib(insn + 1, addrlen); case X86_2BYTE: ++insn; goto b2; } return -1; |