fpc/tests/webtbs/tw38074.pp
florian bf7961a901 * fixes for nasm writer, resolves #38074
+ test

git-svn-id: trunk@47413 -
2020-11-13 21:39:16 +00:00

17 lines
223 B
ObjectPascal

{ %cpu=x86_64 }
{ %opt=Anasm}
{$ASMMODE INTEL}
const
value : int64 =$1234567898765432;
function Test:Int64;assembler;
asm
mov RAX, $1234567898765432
end;
begin
if Test<>value then
halt(1);
writeln('ok');
end.