I study on a tutorial and there is a c code like that
void function(int a, int b, int c) {
   char buffer1[5];
   char buffer2[10];
}
void main() {
   function(1,2,3);
}
He says after compile this code using gcc with -S switch we will get an assembly result like that
pushl $3
pushl $2
pushl $1
call function
However when I compile it my main part looks like
main:
.LFB1:
.cfi_startproc
endbr64
pushq   %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq    %rsp, %rbp
.cfi_def_cfa_register 6
movl    $3, %edx
movl    $2, %esi
movl    $1, %edi
call    function
nop
popq    %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
Are both meaning the same or am I doing wrong with somewhere?
 
    