Moving the printf into a function named output and calling that function from main did not alter the changes in the object code drastically. IT simply added a new step as shown below
output();
4004ea: b8 00 00 00 00 mov $0x0,%eax
4004ef: e8 07 00 00 00 callq 4004fb <output>
The callq now calls output which will show the object code as it was when originally in main
Comments