Topic created on: November 8, 2010 16:26 CST by BazookaJo .
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...
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.