GCC and assembly
Posted: Wed Feb 04, 2004 12:00 am
Hi,
I'm using gcc and nasm trying to write my own OS. I'm not familiar with AT&T-Syntax and so I'm only using ASM in in extern files.
But how do I access the parameters GCC pushes to stack?
And where do I write the return value so that I can reach it in my c-part?
Thanx ahead for your help, Michi
I'm using gcc and nasm trying to write my own OS. I'm not familiar with AT&T-Syntax and so I'm only using ASM in in extern files.
But how do I access the parameters GCC pushes to stack?
And where do I write the return value so that I can reach it in my c-part?
Thanx ahead for your help, Michi