Does anyone know how I can read in a stored floating point number and convert it into a decimal/string format and then output it? I'm trying to mimic the floating point output bit of 2 but instead I need to use the string output form.


Fpnum: .float 3.14159

Start: lcw1 $f12, fpnum

#convert the float number into a decimal/string format here...

I need to I guess break down the bits into the three parts of the float then out output the result as a string representation of the float. Please someone help me here.

Thanks to all ahead of time

Contemplate the possibilities of multiplying by ten, and of using the floating point FIST instruction.