mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 03:30:37 +02:00
* generate 16-bit (instead of 32-bit) instructions for push/pop of a segment
register in an inline asm block on i8086 git-svn-id: trunk@30616 -
This commit is contained in:
parent
7315175c32
commit
c3515f743f
@ -803,7 +803,11 @@ begin
|
||||
(opcode=A_POP)) and
|
||||
(operands[1].opr.typ=OPR_REGISTER) and
|
||||
is_segment_reg(operands[1].opr.reg) then
|
||||
{$ifdef i8086}
|
||||
opsize:=S_W
|
||||
{$else i8086}
|
||||
opsize:=S_L
|
||||
{$endif i8086}
|
||||
else
|
||||
opsize:=tx86operand(operands[1]).opsize;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user