Combining C and Assembly for the bootloader
Posted: Fri Sep 28, 2012 8:30 am
I know C much better than Assembly.I am trying to mix both C and Assembly.I have created a C File and used "extern _blmain jmp _blmain"
in the assembly.But the trouble I face it that NASM give me a list of errors when I try to produce the code in aout format.
Whats the problem here??
Or is there any way I can combine C and Assembly?(These Assembly stuff, I mean the Stage 2 Bootloader of the tut).
Thanks for your consideration

in the assembly.But the trouble I face it that NASM give me a list of errors when I try to produce the code in aout format.
Whats the problem here??
Or is there any way I can combine C and Assembly?(These Assembly stuff, I mean the Stage 2 Bootloader of the tut).
Thanks for your consideration
