On Mar 2, 2006, at 6:29 AM, Jonathan Johnson wrote:
You can, but you also must pass the floating-point values in the GPR
registers also. That means that the 4-byte representation of a single
must be passed as an Integer in the declare. E.g:
dim mb as new MemoryBlock(4)
mb.SingleValue(0) = 72.9
CallSomeFunction mb.Long(0)
This is a behavior of the PowerPC ABI.
Yeah... I really don't get that. :)
I'd say that maybe one day I'll read a PPC assembly book, but what's
the point? :p
However, you could just use
structures in 2006r1 where it will just work :)
Yay for structures!
Seth Willits
----------------------------------------------------------
Freak Software - http://www.freaksw.com/
ResExcellence - http://www.resexcellence.com/realbasic/
----------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>