这是什么汇编语言?

时间:2013-03-10 01:29:30

标签: linux gcc assembly gdb

这是什么汇编语言?

(gdb) disass bar
Dump of assembler code for function bar:
0x08048374 <bar+0>:  push   %ebp
0x08048375 <bar+1>:  mov    %esp,%ebp
0x08048377 <bar+3>:  sub    $0x10,%esp
0x0804837a <bar+6>:  mov    0x8(%ebp),%eax
0x0804837d <bar+9>:  add    $0x1,%eax
0x08048380 <bar+12>: mov    %eax,-0x4(%ebp)
0x08048383 <bar+15>: mov    -0x4(%ebp),%eax
0x08048386 <bar+18>: leave  
0x08048387 <bar+19>: ret    
End of assembler dump.
(gdb)

1 个答案:

答案 0 :(得分:4)

AT&T syntax中显然是32位x86汇编。