Yasm x86-64 Assembly: Instruction Formats, Operands, MOV, ADD, Memory & Registers Explained

Yasm x86-64 Assembly: Instruction Formats, Operands, MOV, ADD, Memory & Registers Explained

Ever stared at "mov rdi, rsi" and wondered WHO goes WHERE?br This 18-minute crash course turns confusion into confidence.br br We start with the world?s simplest instruction (inc rax) and level-up to:br * Zero, one, two, and three-operand formats br * Why "mov rdi, 89" and ?mov rdi, [someVar]? are NOT the samebr * Brackets = dereference, no brackets = pointerbr * When ADD destroys your register (and how to stop it)br * The memory-size trap that crashes 90 of beginnersbr * Byte word dword qword prefixes that save your lifebr * Pro tip: keep everything in registers until the last microsecondbr br Code is shown live in Yasm, every line explained like you?re sitting next to me.br No fluff, no 2-hour theory?just the exact mental model you need to read and write assembly tomorrow.br br Grab the free PDF cheat-sheet (link in first comment) and code along.br Hit Subscribe?next video we build a complete program from scratch.


User: Neural Lantern

Views: 3

Uploaded: 2025-11-02

Duration: 22:19