[fpc-devel] ABI question PPC, ARM: position of SELF

Martin lazarus at mfriebe.de
Fri Dec 7 17:51:31 CET 2012


Does anyone know how self is passed on PPC or ARM?

On the one hand IRRC I read self is passed as additional param at the 
end of the list.

But looking at intel code 32 bit, it looks like it always goes into EAX 
(calling method register)
On Intel 64 bit it is RCX or RDI depending on it in Windows or not

What on the others, fixed register, or simply as if it was the last param?




More information about the fpc-devel mailing list