Step-by-step guide to implementing while loops in x86-64 assembly using YASM. We go from high-level concept ? label structure ? conditional & unconditional jumps ? full working example that reads numbers until user enters 99.
Great for people learning assembly control flow, students taking computer organization/architecture courses, reverse engineers, or anyone who wants to understand how loops really work under the hood.
Previous videos cover conditional branching, system calls, makefiles, hybrid C++/asm projects, etc.
Introduction to While Loops in x86-64 YASM 00:00:00
While Loop Concept in High-Level Languages 00:00:56
Breaking Down While Loop Structure 00:02:00
Labeling Key Sections Top Body Done 00:02:40
Conditional and Unconditional Jumps Explained 00:03:26
Why Prefer Shorter Conditional Jumps 00:04:40
Diagram of While Loop Flow 00:06:52
Alternative While True with Internal Break 00:08:08
Do-While vs Regular While Difference 00:09:32
Program Setup and Data Section Overview 00:09:53
Hybrid Program Structure and External Functions 00:10:56
Main Function and While Test Call 00:12:56
While Test Function Prologue 00:13:21
CRLF Helper Function 00:14:00
Intro Message and Loop Initialization 00:14:50
While Top Comparison with 99 00:16:57
Entering the Loop Body 00:19:08
User Input and Echo Output 00:19:38
Jump Back to While Top 00:20:29
Exit to While Done Section 00:21:39
Goodbye Message and Function Epilogue 00:22:14
Live Demo Running the Program 00:22:30
Summary and Closing Remarks 00:23:12
Call to Subscribe and Website Mention 00:23:46
#x86Assembly #AssemblyLanguage #YASM #LowLevelProgramming #x64 #WhileLoop #SystemsProgramming #ComputerArchitecture
x86-64 assembly, YASM tutorial, while loop assembly, assembly language tutorial, x86 assembly loops, low level programming, x86-64 linux assembly, conditional jump assembly, unconditional jump, assembly control flow, learn assembly language, NASM vs YASM, x86-64 programming, assembly while loop example, low level loops, computer architecture, systems programming, assembly language loops
=-=-=-=-=-=-=-=-=
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
- Twitter / X: https://x.com/NeuralLantern
- Rumble: https://rumble.com/c/c-3696939
- BitChute: https://www.bitchute.com/channel/pg1Pvv5dN4Gt
- Daily Motion: https://www.dailymotion.com/neurallantern
- Minds: https://www.minds.com/neurallantern/
- Odysee: https://odysee.com/@NeuralLantern:5
Please show your support!
- Buy me a coffee: https://ko-fi.com/neurallantern
- Subscribe + Sharing on Social Media
- Leave a comment or suggestion
- Subscribe to Blog: https://www.NeuralLantern.com
- Watching the main "pinned" video of this channel for offers and extras