mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 02:32:12 +02:00
* set 16-bit opsize for OPR_SYMBOL operands on i8086
git-svn-id: trunk@30626 -
This commit is contained in:
parent
7c33165672
commit
3b5395e0e3
@ -778,11 +778,13 @@ begin
|
||||
operands[i].opr.ref.symbol:=s;
|
||||
operands[i].opr.ref.offset:=so;
|
||||
end;
|
||||
{$ifdef x86_64}
|
||||
{$if defined(x86_64)}
|
||||
tx86operand(operands[i]).opsize:=S_Q;
|
||||
{$else x86_64}
|
||||
{$elseif defined(i386)}
|
||||
tx86operand(operands[i]).opsize:=S_L;
|
||||
{$endif x86_64}
|
||||
{$elseif defined(i8086)}
|
||||
tx86operand(operands[i]).opsize:=S_W;
|
||||
{$endif}
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user