User:Monklearnsrce

Original program: int f1(int a1) { 	return a1 + 1; } main(int argc, char **argv) { 	f1(1); } This is how the disassembled code looks in IDA Pro:

.text:00401150 .text:00401150 arg_0          = dword ptr  8 .text:00401150 .text:00401150                push    ebp .text:00401151                mov     ebp, esp .text:00401153                mov     eax, [ebp+arg_0] .text:00401156                inc     eax .text:00401157                pop     ebp .text:00401158                retn .text:00401158 sub_401150     endp .text:00401158 .text:00401159 .text:00401159 ; ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ S U B R O U T I N E ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ .text:00401159 .text:00401159 ; Attributes: bp-based frame .text:00401159 .text:00401159 ; int __cdecl main(int argc,const char **argv,const char *envp).text:00401159 _main          proc near               ; DATA XREF: .data:004090D0

.text:00401159 _main          proc near               ; DATA XREF: .data:004090D0