Step Into x64 Assembly · Lesson 1 · Registers & Arithmetic
Registers & mov
What the CPU works with, sub-registers, return values and your first functions.
- ~30 minreading and coding
- 4missions
- membersaccess
- x64 Assemblylanguage
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
- Why assembly?
- Registers
- Sub-registers
- mov
- A function in assembly
Missions
- Return 42
- Arguments arrive in registers
- Just the low byte
- The 32-bit rule