Surprise Me!

x86-64 Assembly While Loops Explained Step by Step in YASM - From Concept to Working Program

2026-01-25 11 Dailymotion

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.<br /><br />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.<br /><br />Previous videos cover conditional branching, system calls, makefiles, hybrid C++/asm projects, etc.<br /><br />Introduction to While Loops in x86-64 YASM 00:00:00<br />While Loop Concept in High-Level Languages 00:00:56<br />Breaking Down While Loop Structure 00:02:00<br />Labeling Key Sections Top Body Done 00:02:40<br />Conditional and Unconditional Jumps Explained 00:03:26<br />Why Prefer Shorter Conditional Jumps 00:04:40<br />Diagram of While Loop Flow 00:06:52<br />Alternative While True with Internal Break 00:08:08<br />Do-While vs Regular While Difference 00:09:32<br />Program Setup and Data Section Overview 00:09:53<br />Hybrid Program Structure and External Functions 00:10:56<br />Main Function and While Test Call 00:12:56<br />While Test Function Prologue 00:13:21<br />CRLF Helper Function 00:14:00<br />Intro Message and Loop Initialization 00:14:50<br />While Top Comparison with 99 00:16:57<br />Entering the Loop Body 00:19:08<br />User Input and Echo Output 00:19:38<br />Jump Back to While Top 00:20:29<br />Exit to While Done Section 00:21:39<br />Goodbye Message and Function Epilogue 00:22:14<br />Live Demo Running the Program 00:22:30<br />Summary and Closing Remarks 00:23:12<br />Call to Subscribe and Website Mention 00:23:46<br /><br />#x86Assembly #AssemblyLanguage #YASM #LowLevelProgramming #x64 #WhileLoop #SystemsProgramming #ComputerArchitecture<br /><br />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<br /><br />=-=-=-=-=-=-=-=-=<br /><br />Thanks for watching!<br /><br />Find us on other social media here:<br />- https://www.NeuralLantern.com/social<br />- Twitter / X: https://x.com/NeuralLantern<br />- Rumble: https://rumble.com/c/c-3696939<br />- BitChute: https://www.bitchute.com/channel/pg1Pvv5dN4Gt<br />- Daily Motion: https://www.dailymotion.com/neurallantern<br />- Minds: https://www.minds.com/neurallantern/<br />- Odysee: https://odysee.com/@NeuralLantern:5<br /><br />Please show your support!<br /><br />- Buy me a coffee: https://ko-fi.com/neurallantern<br /><br />- Subscribe + Sharing on Social Media<br />- Leave a comment or suggestion<br />- Subscribe to Blog: https://www.NeuralLantern.com<br />- Watching the main "pinned" video of this channel for offers and extras<br />

Buy Now on CodeCanyon