1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| .file "main.c"
.globl tab
.data
.align 32
.type tab, @object
.size tab, 400000000
tab:
.long 1
.zero 396
.zero 399600
.zero 399600000
.text
.globl main
.type main, @function
main:
pushl %ebp
movl %esp, %ebp
movl $0, %eax
popl %ebp
ret
.size main, .-main
.ident "GCC: (Ubuntu 4.4.1-4ubuntu9) 4.4.1"
.section .note.GNU-stack,"",@progbits
nico@ubuntu:~/Bureau$ gcc -S main.c
nico@ubuntu:~/Bureau$ cat main.s
.file "main.c"
.comm tab,400000000,32
.text
.globl main
.type main, @function
main:
pushl %ebp
movl %esp, %ebp
movl $0, %eax
popl %ebp
ret
.size main, .-main
.ident "GCC: (Ubuntu 4.4.1-4ubuntu9) 4.4.1"
.section .note.GNU-stack,"",@progbits |
Partager