说我有void f(int a, int b, int c) { g(a, b, c); h(a, b, c); }在x86汇编这样的: section .text
f:
pop dword [res_1]
call g ; g(a, b, c)
call h ; h(a, b, c)
push dword [res_1]
ret
se
例如 int foo(short x);
short s = -1;
foo(s);
是不是一样 //int foo(short x); //Updated
int foo(signed x);
short s = -1;
foo((signed)s);//sign-extend and push to stack
抑或是一样 //int foo(short x); //Upda