Assembly language has no calling convention whatsoever until you hand code it to have whatever calling convention you want it to have, preferably matching the calling convention of whatever you are interfacing to.
Have you actually ever programmed in assembly? On 4/16/2016 at 9:31 AM, Florian Pelz <pelzflor...@pelzflorian.de> wrote: >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. >_______________________________________________ >gtk-app-devel-list mailing list >gtk-app-devel-list@gnome.org >https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list