CS250 Midterm 2 Review Guide
The midterm will be in-class on Tuesday, March 18
Topics
- ASCII, you don't have to memorize the table
- Assembly Programming
- 32-bit x86 registers (eax, ebx, ecx, edx, esp, ebp, maybe esi or edi)
- x86 integer math operations (add, sub, div, mul)
- How the stack works (push, pop, adding and subtracting from esp, what ebp is for)
- Local Variables and Function Parameters
- System Calls (read, write, exit, open, close)
- Calling C library functions (printf, scanf)
- text .vs data segment of the program
- Assemblers and Linkers
Notes
The test will be closed book, but you can bring up to 10 pages of notes if you like, both sides. Any page is fine, written any way you like. It can be both sides or one side, handwritten or typed, any font size. If you have legal-size paper around, that's ok too.