> > 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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to