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
GCC and assembly
RE:GCC and assembly
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
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