Step Into Labs

Step Into x64 Assembly · Lesson 1 · Registers & Arithmetic

Registers & mov

What the CPU works with, sub-registers, return values and your first functions.

Part of Step Into x64 Assembly. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

Every C, Rust or Go program ends up as machine code: a few hundred kinds of tiny instructions that the CPU executes one after another. Assembly is the human-readable spelling of those instructions. You need it to read a debugger, understand a crash, analyze a binary or see what your C really became.

In this lesson

Missions

  1. Return 42
  2. Arguments arrive in registers
  3. Just the low byte
  4. The 32-bit rule