I have this code using masm32:
FLD Temp ;load Temp to FP stack
PrintDec Temp ;DEBUGGER, print value of Temp (256)
FLD Cr ;load Cr to FP stack
FST Temp ;store ST(0) to Temp
PrintDec Temp...
I've figured out this much on Floating-Point to Decimal:
The most significant bit (bit31 for single precision or bit 63 for double precision) is the sign. 0 is +, 1 is -.
For single precision (32 bit) the next 8 bits (bit30 - bit23) are the exponent. For double precision (64 bit) the next...
Thanks, I figured it out last night.
divide the number by 10
add 48 to the remainder to convert to ascii
store result in an array
repeat above with quotient, storing result in array in descending elements
btw, I'm using masm32.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.