Home
Learn Programming From The Machine Up
Most courses start with Python. This one starts with what Python stands on: bytes, memory, CPU instructions, and the operating system.
FASM is the microscope. The goal is to understand what programs really do.
What To Click First
Click Start From Bytes To Programs. That is the textbook. Everything else is supporting material.
1. Learn What Programs Do
The main book: one machine-level idea per chapter, one runnable FASM program, diagrams, exercises, and C/Python connections.
2. Run On macOS
Use fasm-mac when you want the same examples to run as x86_64 Mach-O programs on macOS.
3. Browse Examples
Use the catalog after the first chapters, when you want older examples, wrappers, and app source links.
Current Textbook Chapters
- Preface: What This Book Is
- Chapter 1: What Is A Program?
- Chapter 2: A Program Says Hello
- Chapter 3: Text Is Bytes
- Chapter 4: The CPU Remembers Things
- Chapter 5: A Program Can Choose
Secondary Material
Older overview and reference pages are still available, but they are not the starting point: