mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-25 17:59:06 +02:00

---------------------------------------------------------------------- readme.txt CVS: Added Files: CVS: bug0204.pp bug0205.pp CVS: ----------------------------------------------------------------------
13 lines
290 B
ObjectPascal
13 lines
290 B
ObjectPascal
{$asmmode intel}
|
|
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
|
|
lea eax,[eax*4+eax]
|
|
mov eax,[eax*4+l]
|
|
end;
|
|
end.
|