mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 16:00:19 +02:00
+ also add an implicit cs: prefix on i8086 in tx86intreader.BuildOperand.AddLabelOperand
git-svn-id: trunk@32189 -
This commit is contained in:
parent
90ff332b49
commit
823deb39ac
@ -1626,6 +1626,10 @@ Unit Rax86int;
|
|||||||
begin
|
begin
|
||||||
oper.InitRef;
|
oper.InitRef;
|
||||||
oper.opr.ref.symbol:=hl;
|
oper.opr.ref.symbol:=hl;
|
||||||
|
{$ifdef i8086}
|
||||||
|
if oper.opr.ref.segment=NR_NO then
|
||||||
|
oper.opr.ref.segment:=NR_CS;
|
||||||
|
{$endif i8086}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user