Repository URL to install this package:
|
Version:
3.0.0 ▾
|
{ %skiptarget=win64 }
{ %cpu=x86_64 }
{ %opt=-vw -Sew }
{ %fail }
{$asmmode intel}
var
val: qword; public;
Function Test: QWord; Assembler; NoStackFrame;
Asm
{ global symbols must be accessed via the GOT on non-win64 }
mov RAX, [RIP+val]
End;
BEGIN
Val := $12345678901;
if test<>$12345678901 then
halt(1);
END.