mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 05:25:58 +02:00
* i8086 binary writer fixes for asm codes 0300..0302
git-svn-id: trunk@30525 -
This commit is contained in:
parent
0aa8e9d829
commit
db5276af61
@ -2368,10 +2368,10 @@ implementation
|
|||||||
end;
|
end;
|
||||||
192,193,194:
|
192,193,194:
|
||||||
begin
|
begin
|
||||||
{$ifdef x86_64}
|
{$if defined(x86_64) or defined(i8086)}
|
||||||
if (oper[c and 3]^.ot and OT_SIZE_MASK)=OT_BITS32 then
|
if (oper[c and 3]^.ot and OT_SIZE_MASK)=OT_BITS32 then
|
||||||
inc(len);
|
inc(len);
|
||||||
{$endif x86_64}
|
{$endif x86_64 or i8086}
|
||||||
end;
|
end;
|
||||||
else
|
else
|
||||||
InternalError(200603141);
|
InternalError(200603141);
|
||||||
@ -2945,13 +2945,13 @@ implementation
|
|||||||
end;
|
end;
|
||||||
192,193,194:
|
192,193,194:
|
||||||
begin
|
begin
|
||||||
{$ifdef x86_64}
|
{$if defined(x86_64) or defined(i8086)}
|
||||||
if (oper[c and 3]^.ot and OT_SIZE_MASK)=OT_BITS32 then
|
if (oper[c and 3]^.ot and OT_SIZE_MASK)=OT_BITS32 then
|
||||||
begin
|
begin
|
||||||
bytes[0]:=$67;
|
bytes[0]:=$67;
|
||||||
objdata.writebytes(bytes,1);
|
objdata.writebytes(bytes,1);
|
||||||
end;
|
end;
|
||||||
{$endif x86_64}
|
{$endif x86_64 or i8086}
|
||||||
end;
|
end;
|
||||||
200 : { fixed 16-bit addr }
|
200 : { fixed 16-bit addr }
|
||||||
{$if defined(x86_64)}
|
{$if defined(x86_64)}
|
||||||
|
Loading…
Reference in New Issue
Block a user