Chapter 3

Introduction to CPU basics

3.1: Von Neumann Architecture

  • The ALU
  • Instructions
  • Branching and the Program Counter
  • Jumps
  • Von Neumann Architecture

3.2 (lab): (pseudo)assembly programming

3.3: Functions and the Stack

  • Function calls and the Return Address
  • Function parameters
  • The Stack
  • Recursive Functions
  • Registers

3.4: (lab) The Stack Machine