Lesson 15: The Function of Functions
Outline:
- Basic block diagrams
ifstatementsdo-whileloopswhileloopsforloops- function calls
- Function calls
- activity: analyze some broken assembly
- recap:
lea- registers vs. the stack/memory
push/pop- recursion
- Why we care about memory: Heartbleed
Reading assignment (to be completed by the next class):
- Bryant & O’Halloran Sec. 3.7.3–3.7.6 (p. 245–255)
- Bryant & O’Halloran Sec. 3.8.1–3.8.2 (p. 255–258)