Skip to content

Instantly share code, notes, and snippets.

@FeepingCreature
Created February 1, 2011 13:17
Show Gist options
  • Save FeepingCreature/805833 to your computer and use it in GitHub Desktop.
Save FeepingCreature/805833 to your computer and use it in GitHub Desktop.
[snip]
.text
.globl module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int
.type module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int, @function
module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int:
pushl %ebp
movl %esp, %ebp #mov4.2
.L106_entry:
pushl $0
movl 12(%esp), %eax #mov4.2
addl 16(%esp), %eax
addl $4, %esp # sfree
movl 12(%esp), %ecx #mov4.2
.L106_exit:
module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int_exit_label:
movl %ebp, %esp #mov4.2
popl %ebp
ret
.globl module_test7__fcc_main_of_function_to_sys_int
.type module_test7__fcc_main_of_function_to_sys_int, @function
module_test7__fcc_main_of_function_to_sys_int:
pushl %ebp
movl %esp, %ebp #mov4.2
.L107_entry:
pushl $module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int
pushl $0
subl $8, %esp # salloc
pushl $2
pushl $30
call *20(%esp)
addl $20, %esp # sfree
jmp module_test7__fcc_main_of_function_to_sys_int_exit_label
.L107_exit:
addl $4, %esp # sfree
module_test7__fcc_main_of_function_to_sys_int_exit_label:
movl %ebp, %esp #mov4.2
popl %ebp
ret
[snip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment