Lesson 13: Your Registration Code

Outline:

  1. x86-64
  2. Data movement
    • addressing modes
      • immediate values
      • registers
      • memory
    • mov
  3. Working with flags
    • condition codes
    • cmp and test
  4. Jumps
    • unconditional: jmp
    • conditional: jXX
  5. Assignment 4 overview
    • VS Code extension: 13xforever.language-x86-64-assembly
    • example: puzzle0

Reading assignment (to be completed by the next class):

  • Bryant & O’Halloran Sec. 3.5 (p. 191–200)
  • Bryant & O’Halloran Sec. 3.6.4–3.6.7 (p. 207–228)