From Bytes To Programs
From Bytes To Programs
Learn What Programs Really Do With FASM
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 subject is programming from the machine up.
Start Here
- 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
Learning Ladder
- A file can be an executable program.
- Text is bytes in memory.
- The CPU starts at an entry point.
- Registers remember tiny values.
- Comparisons and jumps let programs choose.
- Later chapters connect those ideas to C and Python.
The Rule
Each chapter uses one main source listing. Platform differences are short run notes under the same program, not separate Linux and macOS lessons.
Companion Material
- fasm-mac runtime notes for running the same examples as x86_64 Mach-O on macOS.
- Example catalog for older repository examples and wrapper experiments.
- Full reference when you need directive or syntax details.