diff --git a/gen/asm-x86-64.h b/gen/asm-x86-64.h index 709c4ab7..ce7af7b8 100644 --- a/gen/asm-x86-64.h +++ b/gen/asm-x86-64.h @@ -1712,7 +1712,7 @@ namespace AsmParserx8664 operand->dataSize = Byte_Ptr; else if ( operand->constDisplacement < 0x10000 ) operand->dataSize = Short_Ptr; - else if ( operand->constDisplacement < 0x100000000 ) + else if ( operand->constDisplacement <= 0xFFFFFFFF ) operand->dataSize = Int_Ptr; else //This could be possible since we are using 48 bits