Assembly – .data, .code, and registers…?
Let’s try to answer in order! The data section contains anything that you want to be automatically initialized for you by the system before it calls the entry point of your program. You’re right, normally global variables end up here. Zero-initialized data is generally not included in the executable file, since there’s no reason to … Read more