summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86.c b/src/x86.c
index dc3610e..7a5d00e 100644
--- a/src/x86.c
+++ b/src/x86.c
@@ -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;