mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 02:28:10 +02:00
18 lines
265 B
ObjectPascal
18 lines
265 B
ObjectPascal
{ %NORUN }
|
|
{ %CPU=i386,x86_64 }
|
|
|
|
program tasm28;
|
|
|
|
{$mode objfpc}
|
|
|
|
{$asmmode att}
|
|
procedure Test(aArr: array of LongInt); {$ifdef cpu386}register;{$endif} assembler; nostackframe;
|
|
asm
|
|
movb $5, (aArr, __HIGH(aArr))
|
|
movb $5, (__HIGH(aArr), aArr)
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|