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
-
LIVE
Badlands Media
11 hours agoBadlands Daily: October 3, 2025
1,216 watching -
LIVE
iCkEdMeL
47 minutes agoDiddy’s Day of Reckoning: Will the Judge Drop the Hammer?
31 watching -
Crypto Power Hour
2 hours ago $0.03 earned#1 AI Driven BTC & ETH Crypto Trading Platform w/ Max Pace
707 -
1:01:13
Chad Prather
12 hours agoWhen God Delays: Trusting Jesus in the Waiting Room of Life
39.2K23 -
LIVE
LFA TV
11 hours agoLIVE & BREAKING NEWS! | FRIDAY 10/3/25
2,517 watching -
1:57:11
The Chris Salcedo Show
12 hours ago $4.13 earnedDems Have Always Been For Giving Your Money To Illegals
20.9K3 -
14:41
IsaacButterfield
1 day ago $4.33 earnedFree Speech Is DEAD In Australia!!
41.1K30 -
59:59
SGT Report
12 hours agoIT'S ALL THEATER -- Seth Holehouse
34.1K51 -
2:00:59
BEK TV
1 day agoTrent Loos in the Morning - 10/03/2025
20.8K -
The Bubba Army
1 day agoDiddy BEGS for Mercy in Judge Letter - Bubba the Love Sponge® Show | 10/03/25
50.8K2