fpc/tests/webtbs/tw7808.pp
2016-08-14 14:09:24 +00:00

20 lines
265 B
ObjectPascal

{ %cpu=i386 }
{ %target=go32v2,linux,freebsd,win32,haiku}
{ %opt=-Sew -vw }
{$mode delphi}
procedure test(l: longint); stdcall;
begin
if l<>longint($deadbeef) then
halt(1);
end;
begin
asm
push word $dead
push word $beef
call test
end;
end.