The Machine & Its Tongue, Assembly & C to the Bone
Start at a single switch. Finish writing C like drinking water, reading x86-64 assembly without flinching, and seeing the electrons under every line.
The Machine & Its Numbers
The one idea the entire machine is built on
How negatives exist with no minus sign
The 16 drawers everything passes through
RAM as one giant byte-addressed array
Exit with a code, dissect every byte
The five ways to name a value
main() → objdump → every instruction named
Assembly in the Bones
add, sub, and the 4 bits that decide branches
How a decision becomes a jump
for and while are just labels and jumps
The one data structure the CPU loves
The return address and how control comes back
rdi, rsi, rdx… who passes what
Prologue, epilogue, and rbp
C, and What It Really Compiles To
char, int, long, width and sign, nothing more
A pointer is an address that knows a type
Why a[i] is literally *(a+i)
How fields sit in memory (and why gaps appear)
Compile, disassemble, recognize every piece
When code addresses become data
Build it, then read your own assembly
Memory, Strings, Syscalls & the Capstone
Memory that outlives the stack frame
The null terminator and every trap it sets
AND, OR, XOR, shifts, flags, masks, tricks
write() with no libc at all
preprocess → compile → assemble → link
Watch registers and the stack change live
Overflows, use-after-free, why they happen
The full brief, you architect and build it
A method for disassembling anything