mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 18:47:56 +02:00
18 lines
182 B
ObjectPascal
18 lines
182 B
ObjectPascal
{ %CPU=i386 }
|
|
program test;
|
|
|
|
{$ASMMODE Intel }
|
|
|
|
procedure TestProc;
|
|
const
|
|
TestConst: String = 'Test';
|
|
begin
|
|
asm
|
|
mov edi, offset TestConst
|
|
end;
|
|
end;
|
|
|
|
begin
|
|
TestProc;
|
|
end.
|