2013-03-10 2 views
-3

어떤 어셈블리 언어입니까?어떤 어셈블리 언어입니까?

(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) 
+2

GDB를 실행할 수 있다면 왜'file'을 실행하여 시스템에서 알려주지 못했을까요? –

답변

3

AT&T syntax에는 명확하게 32 비트 x86 어셈블리입니다.

관련 문제