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

2 days ago
2

Ever stared at "mov rdi, rsi" and wondered WHO goes WHERE?
This 18-minute crash course turns confusion into confidence.

We start with the world?s simplest instruction (inc rax) and level-up to:
* Zero, one, two, and three-operand formats
* Why "mov rdi, 89" and ?mov rdi, [someVar]? are NOT the same
* Brackets = dereference, no brackets = pointer
* When ADD destroys your register (and how to stop it)
* The memory-size trap that crashes 90% of beginners
* Byte / word / dword / qword prefixes that save your life
* Pro tip: keep everything in registers until the last microsecond

Code is shown live in Yasm, every line explained like you?re sitting next to me.
No fluff, no 2-hour theory?just the exact mental model you need to read and write assembly tomorrow.

Grab the free PDF cheat-sheet (link in first comment) and code along.
Hit Subscribe?next video we build a complete program from scratch.

#Assembly #x86_64 #Yasm #LowLevel

Introduction to Instruction Formats 00:00:00
Simple INC Example 00:00:28
Instruction and Operand Basics 00:00:47
Zero to Three Operands 00:01:14
MOV Instruction Explained 00:02:02
Immediates and Registers 00:02:44
Memory Variables and Pointers 00:03:16
Dereferencing with Brackets 00:05:08
ADD with Two Operands 00:05:32
ADD with Three Operands 00:06:55
Consulting the Ubuntu Book 00:07:45
MOV Source vs Destination 00:08:52
Memory Size Matters 00:09:07
Specifying Data Size 00:11:40
INC on Memory Locations 00:13:19
Why Size Prefixes Prevent Bugs 00:14:08
Performance Tip - Use Registers 00:15:12
Book Recommendation Wrap-up 00:16:04

Thanks for watching!

Find us on other social media here:
- https://www.NeuralLantern.com/social

Please help support us!

- Subscribing + Sharing on Social Media
- Leaving a comment or suggestion
- Subscribing to our Blog
- Watching the main "pinned" video of this channel for offers and extras

Loading comments...