[fpc-devel] FPC and Windows Phone 8

Vsevolod Alekseyev sevaa at sprynet.com
Tue Mar 11 03:13:18 CET 2014


It's not all assembly. The fake FPC RTL was written in C because I wanted it
to be portable (Intel/ARM/Thumb at the very least, at some point MIPS too).
The calling convention of C code *is* largely driven by the platform's
toolchain.

> Why/how does the OS dictate how in a user program the functions are called
? (In fact in an ASM program you can use whatever calling convention you
like).




More information about the fpc-devel mailing list