mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 17:28:14 +02:00
12 lines
270 B
ObjectPascal
12 lines
270 B
ObjectPascal
{ Compile with -Rintel switch }
|
|
var
|
|
l : longint;
|
|
begin
|
|
{ problem here is that l is replaced by BP-offset }
|
|
{ relative to stack, and the parser thinks all wrong }
|
|
{ because of this. }
|
|
asm
|
|
mov eax, [eax*4+l]
|
|
end;
|
|
end.
|