以sum函数为例
int sum(int a,int b)
{
return a+b;
}
它的汇编代码
.text
.global sum
sum:
pushl %ebp
movl %esp,%ebp
movl 8
以sum函数为例
int sum(int a,int b)
{
return a+b;
}
它的汇编代码
.text
.global sum
sum:
pushl %ebp
movl %esp,%ebp
movl 8