PPC Calling conventions

From Free Pascal wiki

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.