top of page

Lab3 Cont. Move printf to separate function

Writer: jadach1jadach1

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

 
 
 

Recent Posts

See All

Closing Thoughts

For my final blog post I would like to discuss what I have learned and plan to utilize in the future from this course. So although I was...

Comments


bottom of page