Hi guys
Currently trying to convert and ultimately improve some DOS based legacy code to the windows format.
My knowledge of ASM is poor, but growing all the time due to the excellent Debugger in DOSBox, which has helped me a great deal thus far.
I have however hit a brick wall in a small section of the code, the function of which I cannot recognise i.e. while each individual instruction makes perfect sense, the subroutine(s) are a mystery.
I think it's some sort of primitive attempt to get the Sum & Sum of Squares, but I just can't see how it's happening...
http://www.box.net/shared/xx4lp6g77l
If there's anyone out there that can spot a square root sub or a floating point div/mul sub then I would appreciate it no end if you could see have a look at the attached code and let me know if you see anything that might shine a light on the matter.
Very big thanks in advance.
Joe.


