Re: argv



On 04/16/2016 06:23 PM, Andrew Robinson wrote:
That is completely incorrect. By definition, main(argc,argv) means that before
you add even one line of code, argc and argv are on the stack, ready to be
used. 

That's how it should be in C, but not necessarily in assemblers. Since
you seem to know assembly programming fairly well otherwise, I assume
the "bug" is that this is not the case here.

Maybe this helps you:
https://stackoverflow.com/questions/21946783/accessing-command-line-arguments-in-asm-win-7

Or maybe I still misunderstand you.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]