Select Git revision
add-01-m32-O0.s
Peter Gerwinski authored
add-01-m32-O0.s 1.47 KiB
.file "add-01.c"
.text
.section .rodata
.LC0:
.string "%llu\n"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
leal 4(%esp), %ecx
.cfi_def_cfa 1, 0
andl $-16, %esp
pushl -4(%ecx)
pushl %ebp
movl %esp, %ebp
.cfi_escape 0x10,0x5,0x2,0x75,0
pushl %esi
pushl %ebx
pushl %ecx
.cfi_escape 0xf,0x3,0x75,0x74,0x6
.cfi_escape 0x10,0x6,0x2,0x75,0x7c
.cfi_escape 0x10,0x3,0x2,0x75,0x78
subl $44, %esp
call __x86.get_pc_thunk.si
addl $_GLOBAL_OFFSET_TABLE_, %esi
movl $705032704, -32(%ebp)
movl $1, -28(%ebp)
movl $1705032704, -40(%ebp)
movl $1, -36(%ebp)
movl -32(%ebp), %ecx
movl -28(%ebp), %ebx
movl -40(%ebp), %eax
movl -36(%ebp), %edx
addl %ecx, %eax
adcl %ebx, %edx
movl %eax, -48(%ebp)
movl %edx, -44(%ebp)
subl $4, %esp
pushl -44(%ebp)
pushl -48(%ebp)
leal .LC0@GOTOFF(%esi), %eax
pushl %eax
movl %esi, %ebx
call printf@PLT
addl $16, %esp
movl $0, %eax
leal -12(%ebp), %esp
popl %ecx
.cfi_restore 1
.cfi_def_cfa 1, 0
popl %ebx
.cfi_restore 3
popl %esi
.cfi_restore 6
popl %ebp
.cfi_restore 5
leal -4(%ecx), %esp
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .text.__x86.get_pc_thunk.si,"axG",@progbits,__x86.get_pc_thunk.si,comdat
.globl __x86.get_pc_thunk.si
.hidden __x86.get_pc_thunk.si
.type __x86.get_pc_thunk.si, @function
__x86.get_pc_thunk.si:
.LFB1:
.cfi_startproc
movl (%esp), %esi
ret
.cfi_endproc
.LFE1:
.ident "GCC: (Debian 12.2.0-14) 12.2.0"
.section .note.GNU-stack,"",@progbits