Projects
Docs
Learn
Embed
Star on github
AI Chat
Assembly basics
Search in every course
Ctrl+K
This is a beginner's guide to assembly and how CPUs execute code.
Introduction
Introduction
Using the editor
Registers
Memory
Numbers and sizes
Instruction set
Addressing modes
Flags
Structure and lifecycle of a program
Think in assembly
Branching and control flow
Loops
Arithmetic, logic and bits
Data in memory
The stack
Subroutines
Talking to the outside world
System calls and traps
Memory-mapped I/O
Interrupts and exceptions