Difference between revisions of "PPC Calling conventions"

From Free Pascal wiki
Jump to navigationJump to search
Line 15: Line 15:
  
 
The parent frame pointer is passed in r3.
 
The parent frame pointer is passed in r3.
 +
 +
[[Category:PowerPC]]

Revision as of 21:04, 20 April 2013

The PowerPC uses the standard AIX or SysV calling conventions.

SysV calling conventions are described in

SYSTEM V APPLICATION BINARY INTERFACE
PowerPC Processor Supplement by
Steve Zucker, SunSoft
Kari Karhi, IBM

Methods

Self is passed in r3.

Nested functions

The parent frame pointer is passed in r3.