Page 1 of 1

GCC and assembly

Posted: Wed Feb 04, 2004 12:00 am
by Michael
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

RE:GCC and assembly

Posted: Wed Feb 04, 2004 12:00 am
by Michael
Oops!
I'm very sorry for having disturbed you! I just found what I was looking for.
And it's only 2 mouse-clicks away! (Developer Guides/Mixing Assembly and C)
I'm going to punish myself.

Bye, Michi