Lesson 14: Taking the Leap
Outline:
- Data movement
- addressing modes, continued
- recap: literals, registers, memory lookups
- memory lookups with offsets/scaling
movinstructionsmovz/movs/movabsq
- addressing modes, continued
- Basic block diagrams
ifstatementsdo-whileloopswhileloopsforloops- function calls
- Translating conditional code from C to x86-64
- jumping around
- handout on translating
if/else,do-while,while,forto x86-64
- Arrays
- pointer math and the
leainstruction switchstatements
- pointer math and the
Videos on arrays and switch statements (to be watched by next Wednesday):
Last year I made some videos:
Reading assignment (to be completed by the next class):