Mac OS X ABI Function Call Guide describes the function-calling conventions used in all the architectures supported by Mac OS X. For detailed information about the IA-32 ABI, read the section “IA-32 Function Calling Conventions,” which:
Lists data types, sizes, and natural alignment
Describes stack structure
Discusses prologs and epilogs
Provides details on how arguments are passed and results are returned
Tells which registers preserve their value after a procedure call and which ones are volatile
© 2005, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-02-04)