32bit assembler math
Javalin
Posts: 892
Hiya
Sure i've seen a link to some working code for 32bit assembler math, multiplication & division.
Can't see it in the links.
Can somebody point me a link?
James
Sure i've seen a link to some working code for 32bit assembler math, multiplication & division.
Can't see it in the links.
Can somebody point me a link?
James
Comments
Assuming the the input is X·* Y
James
should be:
A worked example·looks like:
Sorted!
James
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.
edit: and Chip came up with this uber-fast sqrt:
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.
Post Edited (lonesock) : 4/15/2010 3:49:40 PM GMT
Cool - thanks for that. Yours works - mine didn't!
Do you have a 32bit divide too?
Thanks,
James
put values in X and Y, and quotiant result is left in Y
James