Dear Wilfried,

thanks allot for this function.
I hardly wait to see how it scores (compared with my plain Delphi function)!

Thank you very very much again.



Wilfried Mestdagh wrote:
> Hello,
>
> Oeps I wrote a bug in the Max3. This one is better:
>
> function Max3(a, b, c: integer): integer;
> asm
>    cmp eax, edx
>    jl  @less
>    mov edx, ecx
>    jmp @again
> @less:
>    mov eax, ecx
> @again:
>    cmp eax, edx
>    jl  @done
>    ret
> @done:
>    mov eax, edx
> end;
>
> ---
> Rgds, Wilfried
> http://www.mestdagh.biz
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
>   
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to