Lecture 0: CS61C Review
This entire lecture is optional and won’t be tested directly on exams, but you may find it useful for Project 1. You can use the sanity check questions to determine which section(s) you want to review.
How many bytes are represented by `0x36`? Why?
The compiler, assembler, linker, and loader are used to execute a C program. Which one is responsible for converting assembly code into machine code?
From lowest address to highest address, what are the four sections of C memory? What is each section used for? Which section grows up during program execution? Which section grows down during program execution?
In x86, what are the registers ebp, esp, and eip responsible for? What do we mean when we say these registers contain pointers?
Function Call in x86 Assembly
After finishing this review lecture, you should be able to complete Q4, Q5, Q6, and Q8 on Homework 1 (released on June 22).