Lesson 15: The Flag Code
Outline:
- Quiz #5
- Arithmetic operations
- arithmetic instructions
- unary ops
- binary ops
- shift ops
lea
- condition codes (“flags”)
- arithmetic instructions
- Working with flags
cmpandtestjXX
Reading assignment (to be completed by the next class):
- Re-read Dis Sec. 7.2 for its example with the stack
- DiS Sec. 7.5.1: Function Parameters
- DiS Sec. 7.9: Structs in Assembly