Course
Assembly Language Fundamentals
A practitioner's path through reading and writing assembly — registers, memory, calling conventions, syscalls, stack frames, and the real output of your compiler.
Reviews
Enrolled members can rate this course.
No reviews yet.
Machine Model and Instructions
Build the register, memory, flag, and control-flow mental model needed to read assembly without guessing.
- 01Registers Are the Machine State You Actually HaveLearn x86-64 general-purpose registers, width aliases, flags, and the discipline of tracking state instead of memorizing mnemonics.24mOpen
- 02Memory Addressing and Data Movement Without MysticismDecode effective addresses, operand sizes, endianness, loads, stores, and the difference between moving values and moving addresses.26mOpen
- 03Control Flow: Reading Disassembly as a GraphTurn linear disassembly into basic blocks and branches so loops, conditions, and compiler-generated control flow become legible.23mOpen
Calls, Stacks, and System Boundaries
Follow stack frames, calling conventions, and Linux syscalls across the boundaries where programs hand control away.
- 01The System V Calling Convention Is a Contract, Not a HintMaster argument registers, return values, caller-saved and callee-saved registers, alignment, and why ABI mistakes corrupt distant code.27mPremium
- 02Stack Frames, Prologues, and the Geography of Local StateRead frame setup and teardown, locate locals and saved registers, and understand how frame-pointer omission changes disassembly.25mPremium
- 03Linux Syscalls: Crossing Into the Kernel DeliberatelyUse raw syscall numbering and registers, compare syscalls with libc calls, and trace kernel boundaries with strace.26mPremium
Compiler Output and Practical Reading
Connect C source to optimized assembly, write small assembly routines, and develop a debugger-driven reading workflow.
- 01Writing Small Assembly Routines and Debugging Them HonestlyBuild, link, and debug a small assembly function with NASM, GCC, and gdb while respecting the ABI and avoiding fragile tricks.25mPremium
- 02Reading What Your Compiler Actually EmitsCompare -O0, -O2, and optimized idioms so source-level intuition maps cleanly onto real machine instructions.28mPremium
- 03PLT, GOT, PIC, and a Debugger-Driven Reading WorkflowUnderstand position-independent calls, dynamic linking artifacts, stripped symbols, and a repeatable workflow for unknown binaries.29mPremium