Lesson 13: Register Here

Outline:

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

To do after class:

Look through the Getting Started instructions for Assignment 5 to try out the Compiler Explorer website.

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

If you haven’t already: