Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
32-Bit Application Binary Interface
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