Programs in Memory

As discussed in the previous section, when programs are executed, the operating systems load them into RAM, aka memory. From here they are executed as the assembly instructions order them to.

First, read this over to see the general layout of programs. You only need to worry about the Stack and the address layout right now.

https://www.geeksforgeeks.org/memory-layout-of-c-program/

We will spend a lot more time on this later, so don't worry about any of it. I'm just giving you context.

Task:

  • Submit text stating that you understand you don't need to know this right now.