I am very new to assembly code and need to know how to pass command line arguments (argc, argv, env) in as function arguments. At line 2 (#RIGHT HERE) is where I do not know the implementation and I need to pass the three arguments into my main. Can anyone please help?
I am compiling it by running: gcc -m32 t.c s.s. The code below is s.s and mymain is in t.c
main:
#RIGHT HERE
call mymain
ret