P
Paminu
The option -S produces the corresponding assembly code for a .c file in the
file specified after -o. But where can I get a lsit of what the different
expresssions mean?
I have this example:
cat test
.file "mips.c"
.text
..globl sub
.type sub, @function
sub:
pushl %ebp
movl %esp, %ebp
movl 12(%ebp), %edx
movl 8(%ebp), %eax
subl %edx, %eax
popl %ebp
ret
.size sub, .-sub
.section .note.GNU-stack,"",@progbits
.ident "GCC: (GNU) 3.3.5 (Debian 1:3.3.5-8ubuntu2)"
I could be nice to get some information on what %ebp means.
file specified after -o. But where can I get a lsit of what the different
expresssions mean?
I have this example:
cat test
.file "mips.c"
.text
..globl sub
.type sub, @function
sub:
pushl %ebp
movl %esp, %ebp
movl 12(%ebp), %edx
movl 8(%ebp), %eax
subl %edx, %eax
popl %ebp
ret
.size sub, .-sub
.section .note.GNU-stack,"",@progbits
.ident "GCC: (GNU) 3.3.5 (Debian 1:3.3.5-8ubuntu2)"
I could be nice to get some information on what %ebp means.