On Mar 2, 2006, at 1:08 PM, Seth Willits wrote:

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

All you need to read is the PowerPC calling conventions documentation at developer.apple.com; that's what I did.

--------------
Charles Yeomans

_______________________________________________
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>

Reply via email to