Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dump of assembler code for function main:
- 0x004013ee <+0>: push %ebp
- 0x004013ef <+1>: mov %esp,%ebp
- 0x004013f1 <+3>: sub $0x48,%esp
- 0x004013f4 <+6>: and $0xfffffff0,%esp
- 0x004013f7 <+9>: mov $0x0,%eax
- 0x004013fc <+14>: add $0xf,%eax
- 0x004013ff <+17>: add $0xf,%eax
- 0x00401402 <+20>: shr $0x4,%eax
- 0x00401405 <+23>: shl $0x4,%eax
- 0x00401408 <+26>: mov %eax,-0x2c(%ebp)
- 0x0040140b <+29>: mov -0x2c(%ebp),%eax
- 0x0040140e <+32>: call 0x40d1e0 <_alloca>
- 0x00401413 <+37>: call 0x40cd60 <__main>
- 0x00401418 <+42>: movl $0x442000,0x4(%esp)
- 0x00401420 <+50>: movl $0x4453c0,(%esp)
- 0x00401427 <+57>: call 0x43e6f8 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc>
- 0x0040142c <+62>: movl $0x44201a,0x4(%esp)
- 0x00401434 <+70>: movl $0x4453c0,(%esp)
- 0x0040143b <+77>: call 0x43e6f8 <_ZStlsISt11char_traitsIcEERSt13basic_os
- treamIcT_ES5_PKc>
- 0x00401440 <+82>: lea -0x18(%ebp),%eax
- 0x00401443 <+85>: mov %eax,0x4(%esp)
- 0x00401447 <+89>: movl $0x445460,(%esp)
- 0x0040144e <+96>: call 0x43f4c8 <_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_PS3_>
- 0x00401453 <+101>: movl $0x0,-0x1c(%ebp)
- 0x0040145a <+108>: lea -0x18(%ebp),%eax
- 0x0040145d <+111>: mov %eax,(%esp)
- 0x00401460 <+114>: call 0x4151f8 <strlen>
- 0x00401465 <+119>: cmp $0x5,%eax
- 0x00401468 <+122>: je 0x401496 <main+168>
- 0x0040146a <+124>: movl $0x44202e,0x4(%esp)
- 0x00401472 <+132>: movl $0x4453c0,(%esp)
- 0x00401479 <+139>: call 0x43e6f8 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc>
- 0x0040147e <+144>: movl $0x442040,(%esp)
- 0x00401485 <+151>: call 0x4151f0 <system>
- 0x0040148a <+156>: movl $0x0,(%esp)
- 0x00401491 <+163>: call 0x4151e8 <exit>
- 0x00401496 <+168>: cmpb $0x41,-0x18(%ebp)
- 0x0040149a <+172>: jne 0x4014b6 <main+200>
- 0x0040149c <+174>: cmpb $0x62,-0x17(%ebp)
- 0x004014a0 <+178>: jne 0x4014b6 <main+200>
- 0x004014a2 <+180>: cmpb $0x68,-0x16(%ebp)
- 0x004014a6 <+184>: jne 0x4014b6 <main+200>
- 0x004014a8 <+186>: cmpb $0x69,-0x15(%ebp)
- 0x004014ac <+190>: jne 0x4014b6 <main+200>
- 0x004014ae <+192>: cmpb $0x6b,-0x14(%ebp)
- 0x004014b2 <+196>: jne 0x4014b6 <main+200>
- 0x004014b4 <+198>: jmp 0x4014e2 <main+244>
- 0x004014b6 <+200>: movl $0x442046,0x4(%esp)
- 0x004014be <+208>: movl $0x4453c0,(%esp)
- 0x004014c5 <+215>: call 0x43e6f8 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc>
- 0x004014ca <+220>: movl $0x442040,(%esp)
- 0x004014d1 <+227>: call 0x4151f0 <system>
- 0x004014d6 <+232>: movl $0x0,(%esp)
- 0x004014dd <+239>: call 0x4151e8 <exit>
- 0x004014e2 <+244>: movl $0x44204d,0x4(%esp)
- 0x004014ea <+252>: movl $0x4453c0,(%esp)
- 0x004014f1 <+259>: call 0x43e6f8 <_ZStlsISt11char_traitsIcEERSt13basic_os
- treamIcT_ES5_PKc>
- 0x004014f6 <+264>: movl $0x442040,(%esp)
- 0x004014fd <+271>: call 0x4151f0 <system>
- 0x00401502 <+276>: mov $0x0,%eax
- 0x00401507 <+281>: leave
- 0x00401508 <+282>: ret
- 0x00401509 <+283>: nop
- End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement