Uploaded August 2011 | Updated December 2026, 3 hours ago
ASSEMBLY TUTORIAL 7: youtube.com/watch?v=yuuwykrmphg
If you couldn't quite understand what I said at the beginning, it was basically about how I am going to continue using DEBUG in all my Assembly tutorials. BUT, I will start a sub tutorial thingy for FASM (the Flat Assembler). But watching those, it assumes you already have watched the Assembly tutorials. So it's not going to describe everything.
ASSEMBLY TUTORIAL 7: youtube.com/watch?v=yuuwykrmphg
If you couldn't quite understand what I said at the beginning, it was basically about how I am going to continue using DEBUG in all my Assembly tutorials. BUT, I will start a sub tutorial thingy for FASM (the Flat Assembler). But watching those, it assumes you already have watched the Assembly tutorials. So it's not going to describe everything.





![x86_64 Linux Assembly #9 - Command Line Arguments
In this video we take a look at command line arguments.
In the video, I pop the arguments off the stack. Also remember that you can peek at a stack using [rsp] if you do not want to pop the values off the stack. [rsp] will peek at the top (argc), [rsp+8] will peek at the second to the top (*path), [rsp+16] will peek at the third from the top (*arg[1]), etc.
linux64.asm
http://pastebin.com/wCNZs3RN
argtest.asm
http://pastebin.com/MAA0NFsK x86_64 Linux Assembly #9 - Command Line Arguments](https://i.ytimg.com/vi/xtFs1yBVinc/mqdefault.jpg)


