fpc/tests/test/tasm14c.pp
nickysn e58bad8eef + check for the 'pop cs' instruction in the x86 inline assembler and print a
warning (on the i8086 target) or an error (on i386 and x86_64) when this
  instruction is used (because it only works on 8086 and 8088 CPUs)

git-svn-id: trunk@37514 -
2017-10-24 15:07:20 +00:00

13 lines
126 B
ObjectPascal

{ %CPU=i8086 }
{ %NORUN }
{ Pop CS should produce a warning on i8086 }
{$asmmode intel}
begin
asm
pop cs
end;
end.