How to get command line parameters | MASM32 Assembly Programming

Опубликовано: 30 Март 2026
на канале: JLearn PH
3,378
34

In this video, you will be learning how to get command line parameters using GetCL

If you want to get 2 or more command line parameters, just create a new set of GetCL

Example, you want 3 command line parameters, what you will do is

--------------------------------

push offset input1
push 1
call GetCL

push offset input2
push 2
call GetCL

push offset input3
push 3
call GetCL
--------------------------------

so if you run the program with
== test.exe parameter1 thisis2 thirdparameter

input1 will contain parameter1
input2 will contain thisis2
input3 will contain thirdparameter


If you like my content, please consider liking this video and subscribing for more videos

Follow and connect with me:
Business Email: [email protected]
Facebook:   / jlearnph  


YouTube:    / jlearnph  
Website: https://jlearnph.wordpress.com/