Re: NAFCQY [Not A FastCode Question, Yay!]: Int64 DivMod



Lord Crc wrote:
>
> Not heavily tested:
<...>
> Shouldn't be hard to modify to accept int64 Divisor. replace the 0's
> in "cmp edi, 0" and "sbb edi, 0" with the register containing the high
> word of the divisor, and you should be set.

Hi Asbjørn,

Could you be more specific how the substitutions you suggest above should be
done?
Anyway it cannot be the only change needed; if I change Divisor to Int64,
this code AV's without even coming close to executing the two lines you
mentioned.
Could it be that if you expand Divisor to Int64 then the location of the
other parameters shifts?

--
Kristofer


.