调用有八个参数的函数:
1
.file
"eight_p.c"
2
.text
3 .globl eight_f
4
.type
eight_f, @function
5 eight_f:
eight_p.c
1 #include
2
3 void eight_f(char b,short c, int d, long e,int f,int g,int h,int k)
4 {}
5
6 int main(int argc,char*argv[])
7 {
8
eight_f(1,2,3,4,5,6,7,8);
9 }
gcc -S eight_p.c
得到eight_p.s汇编文件: