[A83] Re: SetXXXXOP1


[Prev][Next][Index][Thread]

[A83] Re: SetXXXXOP1




> I know you can set an integfer value to OP1, but is there 
a backwards
> rom call to go from FP to integer value in a register? If 
not, does
> anyone have a chunk of code that would do this? Any 
help/ideas
> appreciated...Thanks

Hmmm, what could you do with values greater than 255/65535? 
I could only think of a solution like reading the first 
four digits of the mantissa (i. e. four halfbytes) and 
forget about the exponent. However, I cannot think of a 
short way of doing this, because it involves three integer 
multiplications.

PG




References: