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.

Start From Bytes To Programs

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.

Open the textbook

2. Run On macOS

Use fasm-mac when you want the same examples to run as x86_64 Mach-O programs on macOS.

Open macOS runtime notes

3. Browse Examples

Use the catalog after the first chapters, when you want older examples, wrappers, and app source links.

Open examples

Current Textbook Chapters

Secondary Material

Older overview and reference pages are still available, but they are not the starting point: