.file "callingsequence.cpp" .text .align 2 .globl _Z3fooiiRi .type _Z3fooiiRi, @function _Z3fooiiRi: .LFB2: pushl %ebp .LCFI0: movl %esp, %ebp .LCFI1: movl 12(%ebp), %eax movl 8(%ebp), %edx addl %eax, %edx movl 16(%ebp), %ecx movl (%ecx), %eax imull (%ecx), %eax addl %eax, %edx movl %edx, %eax leave ret .LFE2: .size _Z3fooiiRi, .-_Z3fooiiRi .align 2 .globl main .type main, @function main: .LFB3: pushl %ebp .LCFI2: movl %esp, %ebp .LCFI3: subl $8, %esp .LCFI4: andl $-16, %esp movl $0, %eax addl $15, %eax addl $15, %eax shrl $4, %eax sall $4, %eax subl %eax, %esp movl $3, -4(%ebp) leal -4(%ebp), %eax pushl %eax pushl $2 pushl $1 .LCFI5: call _Z3fooiiRi addl $12, %esp movl %eax, -4(%ebp) movl -4(%ebp), %eax leave ret .LFE3: .size main, .-main .section .note.GNU-stack,"",@progbits .ident "GCC: (GNU) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)"