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

16 lines
175 B
ObjectPascal

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