long add(long a, long b)
{
return (a + b);
}
int main()
{
long a = 1, b = 2;
long (*padd)(long, long);
padd = add;
(*padd)(a, b);
return 0;
}
程序提示..\SOURCE\MAIN.C(81): error C212: indirect call: parameters do not fit within registers
编译器是keil 用的stc12c系列的单片机 |