GET 70% Discount on All Products Coupon code: "Board70"
According to the AAPCS (with soft floating point linkage), when the caller "func" calls sprintf, where is the value of the parameter "x" placed?
#include
void func(double x, int i , char *buffer)
{
sprintf(buffer, "pass %d: value = %f\n", i, x); }
Split between register R3 and 4 bytes on the stack
Split between registers R3 and R4
8 bytes on the stack
VFP Register D0
TESTED 23 Feb 2025