mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 13:30:27 +02:00
* in the inline asm reader, treat [var] reference as "word" instead of "dword"
when "var" is of dword size. This fixes spurious generation of a $66 prefix and makes the code consistent with what Tx86Operand.SetSize does (and what is then used for checking the operand sizes of all operands of the instruction in Tx86Instruction.CheckOperandSizes). git-svn-id: trunk@30629 -
This commit is contained in:
parent
f9f602dca6
commit
5c8965fea5
@ -1180,7 +1180,13 @@ begin
|
||||
asize:=OT_BITS8;
|
||||
OS_16,OS_S16, OS_M16:
|
||||
asize:=OT_BITS16;
|
||||
OS_32,OS_S32,OS_F32,OS_M32 :
|
||||
OS_32,OS_S32 :
|
||||
{$ifdef i8086}
|
||||
asize:=OT_BITS16;
|
||||
{$else i8086}
|
||||
asize:=OT_BITS32;
|
||||
{$endif i8086}
|
||||
OS_F32,OS_M32 :
|
||||
asize:=OT_BITS32;
|
||||
OS_64,OS_S64:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user