15-213/18-243 Introduction to Computer Systems
Lecture 6: Control, Procedures

  • Reading: Ch 3.6-3.7
  • Slides:
  • Code:
  • Concepts:
    • Compiling for-loops, switch statements
    • Stack (IA32)
    • Call and return instructions
    • Callee-save and caller-save registers (IA32)
  • Previous lecture: Operations and Control
  • Next lecture: Data Representation