After reviewing all the materials posted in Week 12,

you should be able to understand these concepts/answer these questions.

  1. Read a disassembled C language program (.s) file to see the stack commands. See Week 9 files that you disassembled.
  2. Recognize the registers that are used for stack control.
  3. Understand how data is stored in a stack.
  4. Understand how the basic set of methods (push, pop, peek, isempty, size) access the stack.
  5. What is the %rbp? And what purpose does it serve?
  6. What is the %rsp? And what purpose does it serve?
  7. How do you access a value on the stack that is part of the main program while in a sub-routine?
  8. How do you access a value on the stack that is part of the sub-routine?
  9. What happens to the sub-routine portion of a stack once the sub-routine completes its execution?
  10. How does the stack keep track of the caller?