fpc/tests/test/tasmread.pp
2004-05-26 20:41:52 +00:00

29 lines
344 B
ObjectPascal

{ Checks for qualified variable support
in assembler reader }
program test;
{$ifdef cpui386}
{$asmmode intel}
{$endif}
var l: longint;
begin
{$ifdef cpui386}
asm
mov test.l, 5
end;
{$endif cpui386}
{$ifdef cpu68k}
asm
move.l test.l,d0
end;
{$endif cpu68k}
{$ifdef arm}
asm
ld r0,test.l
end;
{$endif arm}
end.