I am working on creating my own operating system and
I've written it all in Assembly so far and for debugging
reasons I want to rewrite some of it in C. The problem
is that I'm not very experienced with C and I need to
be able to link my assembly code with my C code in
a way that allows me to share variables. I'm not
familiar with GAS format so simply using this in the C
code is out of the question.
Does anyone have any suggestions? Tutorials?
Thanks
I've written it all in Assembly so far and for debugging
reasons I want to rewrite some of it in C. The problem
is that I'm not very experienced with C and I need to
be able to link my assembly code with my C code in
a way that allows me to share variables. I'm not
familiar with GAS format so simply using this in the C
code is out of the question.
Does anyone have any suggestions? Tutorials?
Thanks