fpc/bugs/bug0124.pp
peter a53d748739 + 204,205 CVS:
----------------------------------------------------------------------
readme.txt CVS: Added Files:  CVS: bug0204.pp bug0205.pp CVS:
----------------------------------------------------------------------
1999-01-21 10:09:00 +00:00

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.