Linking C and Assembly
Posted: Sat Jan 24, 2009 3:10 am
I have created a bootloader than loads a binary file to 0x100000 and finally jump into it.
I also created a kernel in C and an assembly file that performs the initialization steps for C Kernel.
But i can't use the ORG directive in the assembly file to specify the entry point.
Does anyone know how to find the entry point for my kernel?http://forum.osdev.org/posting.php?mode=post&f=1&sid=f6f14f1c122a09f519b6acd2d22ce7e0#
I also created a kernel in C and an assembly file that performs the initialization steps for C Kernel.
But i can't use the ORG directive in the assembly file to specify the entry point.
Does anyone know how to find the entry point for my kernel?http://forum.osdev.org/posting.php?mode=post&f=1&sid=f6f14f1c122a09f519b6acd2d22ce7e0#