source: trunk/hello.s@ 26

Last change on this file since 26 was 26, checked in by Mattia Monga, 10 years ago

Programmi 2014

File size: 647 bytes
Line 
1 .file "hello.c"
2 .intel_syntax noprefix
3 .section .rodata
4.LC0:
5 .string "mamma"
6.LC1:
7 .string "Ciao %d %s"
8 .text
9 .globl main
10 .type main, @function
11main:
12.LFB0:
13 .cfi_startproc
14 push ebp
15 .cfi_def_cfa_offset 8
16 .cfi_offset 5, -8
17 mov ebp, esp
18 .cfi_def_cfa_register 5
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 call printf
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
35 .cfi_endproc
36.LFE0:
37 .size main, .-main
38 .ident "GCC: (Debian 4.8.2-18) 4.8.2"
39 .section .note.GNU-stack,"",@progbits
Note: See TracBrowser for help on using the repository browser.