this way,
Code:
IntMul proc source :DWORD,multiplier :DWORD LOCAL var1 :DWORD fild source ; load source fild multiplier ; load multiplier fmul ; multiply source by multiplier fist var1 ; store result in variable mov eax, var1 ret IntMul endp
Still, ther are a lot of the old timer tricks that are worth
knowing so Bucks technique may be of some use when approaching
integer multiply without FP instructions.
Regards,
[email protected]
[/CODE]
------------------
[This message has been edited by Steve Hutchesson (edited March 30, 2001).]
Leave a comment: