Lesson 16: Taking the Leap
Outline:
- Recap:
movinstructions - Arithmetic operations
- Condition codes and conditional jumps
- computing condition codes (“flags”)
setXX
- Assignment 6
After class:
- Lab 5: debugging jumps in x86-64 with
gdb—try this yourself to look at values in registers/memory and trace math/jumps
Reading assignment (to be completed by the next class):
- Assignment 6 – read it and fill out the form to get your own
zoo! - Explore the
debug_gdbexecutable using the tools mentioned in the Assignment 6 writeup - DiS Sec. 3.1: Debugging with GDB
- DiS Sec. 3.2: GDB Commands in Detail
- DiS Sec. 7.5: Functions in Assembly