where goes the ret instruction of the main
问题 I learned how assembly (x86) globally works in the book : "Programming from ground up". In this book, every program ends with an interruption call to exit. However, in C compiled programs, I found out that programs end with a ret. This supposes that there is an address to be popped and that would lead to the end of the program. So my question is : What is this address? (And what is the code there?) 回答1: You start your program by asking the OS to pass control to the start or _start function of