Rev | Line | |
---|
[24] | 1 | .file "hello.c"
|
---|
[26] | 2 | .intel_syntax noprefix
|
---|
[24] | 3 | .section .rodata
|
---|
| 4 | .LC0:
|
---|
[26] | 5 | .string "mamma"
|
---|
| 6 | .LC1:
|
---|
| 7 | .string "Ciao %d %s"
|
---|
[24] | 8 | .text
|
---|
| 9 | .globl main
|
---|
| 10 | .type main, @function
|
---|
| 11 | main:
|
---|
| 12 | .LFB0:
|
---|
| 13 | .cfi_startproc
|
---|
[26] | 14 | push ebp
|
---|
[24] | 15 | .cfi_def_cfa_offset 8
|
---|
| 16 | .cfi_offset 5, -8
|
---|
[26] | 17 | mov ebp, esp
|
---|
[24] | 18 | .cfi_def_cfa_register 5
|
---|
[26] | 19 | and esp, -16
|
---|
| 20 | sub esp, 16
|
---|
| 21 | mov DWORD PTR [esp+8], OFFSET FLAT:.LC0
|
---|
| 22 | mov DWORD PTR [esp+4], 5
|
---|
| 23 | mov DWORD PTR [esp], OFFSET FLAT:.LC1
|
---|
[24] | 24 | call printf
|
---|
[26] | 25 | #APP
|
---|
| 26 | # 8 "hello.c" 1
|
---|
| 27 | mov eax, 0
|
---|
| 28 | # 0 "" 2
|
---|
| 29 | #NO_APP
|
---|
| 30 | mov eax, 0
|
---|
| 31 | leave
|
---|
| 32 | .cfi_restore 5
|
---|
| 33 | .cfi_def_cfa 4, 4
|
---|
| 34 | ret
|
---|
[24] | 35 | .cfi_endproc
|
---|
| 36 | .LFE0:
|
---|
| 37 | .size main, .-main
|
---|
[26] | 38 | .ident "GCC: (Debian 4.8.2-18) 4.8.2"
|
---|
[24] | 39 | .section .note.GNU-stack,"",@progbits
|
---|
Note:
See
TracBrowser
for help on using the repository browser.