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

  1. Preface: What This Book Is
  2. Chapter 1: What Is A Program?
  3. Chapter 2: A Program Says Hello
  4. Chapter 3: Text Is Bytes
  5. Chapter 4: The CPU Remembers Things
  6. 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