Mixing Assembly and C Tutorial Help
Posted: Wed Jun 07, 2006 11:00 pm
The first example works but the 2nd one gives me a error when I try to do the ld part.
Heres what I get.
Heres what I get.
cooldude2k@Game-Maker-2k:~/kernel$ nasm -f coff -o kernel32.o kernel32.asm
cooldude2k@Game-Maker-2k:~/kernel$ ld -Ttext 0x100000 --oformat binary -o kernel32.bin kernel32.o
kernel32.o: file not recognized: File format not recognized
cooldude2k@Game-Maker-2k:~/kernel$