fpc/tests/webtbs/tw20035b.pp
2011-08-27 15:41:39 +00:00

16 lines
177 B
ObjectPascal

{ %cpu=x86_64 }
{ %norun }
program testasm;
begin
{$asmmode intel}
asm
mov rax,gs:[0]
end;
{$asmmode att}
asm
mov %gs:0,%rax
mov %gs:(0),%rax
end;
end.