int main(void) {
int a = 5;
return 0;
}
main:
pushq %rbp
movq %rsp, %rbp
movl $5, -4(%rbp)
movl $0, %eax
popq %rbp
ret
void f(void){
;
}
int main(void) {
int a = 5;
f();
return 0;
}
f:
pushq %rbp
movq %rsp, %rbp
nop
popq %rbp
ret
main:
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
movl $5, -4(%rbp)
call f
movl $0, %eax
leave
ret
subq $16, %rsp
?