Premium Only Content
 
			Mastering x86-64 YASM Assembly: Functions Made Simple
Get hands-on with x86-64 YASM assembly in this in-depth tutorial on writing functions! Perfect for beginners and seasoned coders, we cover the basics of function creation, calling conventions, argument handling, and return values. Learn to avoid crashes, respect the ABI, and use prologue/epilogue for clean code. From printing messages to returning integers, see practical examples and tips to simplify your assembly programs. Subscribe for more low-level programming tutorials and take your skills to the next level!
Introduction to Functions 00:00:00
Makefile Overview 00:00:19
Assembly Program Setup 00:02:01
Data Section Definitions 00:02:08
Text Section and Entry Point 00:03:02
Basic Assembly Program Demo 00:03:38
Return Codes Explained 00:04:30
Function Concepts Introduced 00:06:10
Creating a Simple Function 00:07:04
Function Call vs Jump 00:08:00
Adding Return Statement 00:09:06
Moving Print Logic to Function 00:09:48
Benefits of Functions 00:10:01
Calling Function Multiple Times 00:11:58
Creating Print Function with Arguments 00:14:00
Handling Function Arguments 00:15:45
Respecting the ABI 00:17:16
Prologue and Epilogue 00:23:15
Stack Operations 00:24:34
Calling Print Function 00:25:25
Avoiding Recursive Loop 00:34:17
Modifying Print Function to Print Line 00:35:21
Adding CRLF Function 00:30:13
Printing Multiple Messages 00:37:00
Returning Integer Values 00:37:48
Preserving Registers in Entry Point 00:41:50
Final Program Demo 00:43:24
Conclusion and Call to Subscribe 00:45:16
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
- 	
				 1:12:57 1:12:57Kim Iversen2 hours agoBill Gates Suddenly Says “Don’t Worry About Climate Change”?49.6K15
- 	
				 1:05:12 1:05:12Michael Franzese2 hours agoI Waited 50 Years to Tell You What Happened on Halloween 19758.58K3
- 	
				 1:07:15 1:07:15Candace Show Podcast2 hours agoINFILTRATION: Charlie Kirk Was Being Tracked For Years. | Candace Ep 25628.8K89
- 	
				 LIVE LIVERallied1 hour ago $0.27 earnedWarzone Solo Challenges then RedSec Domination83 watching
- 	
				 LIVE LIVERed Pill News4 hours agoBoomerang Time - DOJ Investigating BLM Fraud on Red Pill News Live3,408 watching
- 	
				 1:46:14 1:46:14Roseanne Barr4 hours ago“The Over Emotional Are Always Under Informed” | The Roseanne Barr Podcast #12162.9K28
- 	
				 LIVE LIVENerdrotic5 hours ago $7.51 earnedThe WitcHER DOA | Box Office Massacre | Massive Industry Layoffs - Friday Night Tights 3781,357 watching
- 	
				 14:54 14:54IsaacButterfield13 hours ago $2.14 earnedShe Called Out “Creepy Men It Didn’t End Well12.8K35
- 	
				 LIVE LIVELFA TV21 hours agoLIVE & BREAKING NEWS! | FRIDAY 10/31/25653 watching
- 	
				 1:08:42 1:08:42vivafrei4 hours agoEric Swalwell in Trouble Again? RFK Jr. "Reverses Course" on Tylenol & Autism? Arctic Frost & MORE!76K27