Lesson 16: Getting to the Point
Outline:
- Condition codes and conditional jumps
- recap: conditional jumps
- computing condition codes
setXX
- Structs and Arrays in x86-64
- example: Queues assignment
- pointer math and the
leainstruction
- Assignment 7
- Lab 4: debugging C with
gdb—try this yourself to get used to usinggdb
Reading assignment (to be completed by the next class):
- Assignment 7 – read it and fill out the form to get your own
zoo! - Explore the
debug_gdbexecutable using the tools mentioned in the Assignment 7 writeup - DiS Sec. 3.1: Debugging with GDB
- DiS Sec. 3.2: GDB Commands in Detail
- DiS Sec. 7.5: Functions in Assembly