[fpc-devel] FPC and Windows Phone 8

Michael Schnell mschnell at lumino.de
Mon Mar 10 10:06:55 CET 2014

On 03/10/2014 12:20 AM, Vsevolod Alekseyev wrote:
>   WP8 uses is strictly Thumb-2, with hard floating point and hard-float calling convention (i. e. parameters in floating point registers).

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).

OK, you can't use registers the OS does not save in interrupts etc, also 
there are restrictions regarding threadvars, but this does not seem to 
be the problem, you describe.


More information about the fpc-devel mailing list