[Lazarus] RE : RE : RE : Convert assembler to Pascal
Leonardo M. Ramé
l.rame at griensu.com
Tue Sep 13 19:13:15 CEST 2011
On 2011-09-13 17:42:48 +0200, Ludo Brands wrote:
> > > Should have told it was for delphi also:
> > >
> > Well, no, it won't work on Delphi. I just wanted to compare
> > the results between Lazarus and Delphi.
> >
> You are forgiven ;)
>
> You could have compared also with fpc on i386. Change
>
> procedure XorMemPrim(var Mem1; const Mem2; Count : Cardinal);
> register;
>
> into
>
> {$asmmode intel}
> procedure XorMemPrim(var Mem1; const Mem2; Count : Cardinal);
> register;assembler;
>
> and the assembler routine works also in fpc.
>
> Ludo
Ludo, thank you very much!. Now everything is working wonderfully on
Lazarus.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list