Step Into x64 Assembly · Lesson 1 · Registers & Arithmetic
Before You Start: Bits, Bytes and Memory
Binary and hex, sizes, signed numbers, little-endian memory and reading a C prototype. Everything assembly assumes you know.
- ~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.
Assembly works on raw numbers in registers and memory. Everything else (characters, negative numbers, pointers, structs) is a way of interpreting those numbers. This lesson gives you the handful of ideas the rest of the course stands on. If you already know C well, skim it and do the missions.
In this lesson
- Why this lesson exists
- Binary and hex
- Sizes have names
- Negative numbers: two's complement
- Memory is a row of numbered bytes
- Reading a C prototype
Missions
- Speak hex
- Minus one without a minus
- Read memory backwards
- Three bits