jacob navia said:Here is a gcc compatible version.
Tested under Mac OS X
As you can see, you just replace rcx, rdx by rdi, rsi
OK, but I've lost sight of why you are posting it. The original seemed
to be about alternative algorithms (or many about c coding) but you
can't be saying that assembler is the way to write it, can you?