Lesson 13: Register Here

Outline:

  1. Understanding C programs
  2. x86-64
  3. Control flow
    • unconditional jump: jmp
    • conditional jump: jXX
    • function call: call
    • return: ret
  4. Assignment 6 overview
    • VS Code extension: 13xforever.language-x86-64-assembly
    • example: puzzle0.asm
  5. Addressing modes
    • immediate values
    • registers
    • memory

To do after class:

If you haven’t already, look through Lab 3: Assembly language to get started with the Compiler Explorer website.

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

If you haven’t already: