How can I sum 2 float numbers?

I am using RADASM with MASM
Posted on 2005-04-06 23:01:47 by luisvalencia

fld
fld
fadd
fstp

Posted on 2005-04-07 00:47:54 by f0dder
Please post in the correct forum. I just moved your thread to Main forum.
Posted on 2005-04-07 02:05:07 by roticv
What about if I cant Use the FPU? How would you do it?
Posted on 2005-04-07 20:50:40 by luisvalencia
If you can not use the FPU then it might be a homework ...

And I bet your teacher explained you about IEEE floating point numbers format.
Posted on 2005-04-07 23:46:59 by BogdanOntanu
I already know about IEEE format single and double. But our teacher just told us not to use FPU

I dont want you guys to mak emy homework but maybe you can please pointme to the right direction

I am reading the data representation chapter of the art of assembly.
I already know how to convert a  value to a IEEE format in PAPER but I got no idea in how to make that on Assembly. Please point me to the right directions
Posted on 2005-04-08 00:14:27 by luisvalencia
Do you know how to add two numbers in scientific notation?

2.86 x 1030 + 3.65 x 1029 = 3.225 x 1030
9.87 x 1030 + 1.25 x 1030 = 1.112 x 1031

The floating-point algorithms are similar.
Posted on 2005-04-08 00:39:40 by tenkey