Hi,
This is new teritory for me but looking at the FPREADME.TXT it seems to me that you're basically using the wrong variables.
The way I interpret this is that use ftoia you should load the floating point number into aarg (not aint, like you're doing) and retrieve the result from aint. For itofb, you should load the integer value to bint and retrieve the result from barg (not bint, like you're doing).itofa Convert integer aint to floating point aarg
itofb Convert integer bint to floating point barg
fpadd Perform floating point addition: aarg + barg
fpsub Perform floating point subtraction: aarg - barg
fpmul Perform floating point multiplication: aarg * barg
fpdiv Perform floating point division: aarg / barg
ftoia Convert floating point aarg to integer aint
Could that be it?
/Henrik.
Bookmarks