Hello!I am trying to complile a .asm file to a .o file(binary)
I have downloaded nasm:
I open the NASM shell:
I have copied out my file into the bin directory.
But it prints out the above message. I typed in "help" to see the available instructions but nasm isn't anywhere to be found ?
I have downloaded nasm:
I open the NASM shell:
Code:
...\AppData\Local\bin\NASM>nasm -f elf32 kernel.asm -o kasm.o
kernel.asm:5: error: parser: instruction expected
...\AppData\Local\bin\NASM>nasm -f elf32 kernel.asm
kernel.asm:5: error: parser: instruction expected
...\AppData\Local\bin\NASM>nasm kernel.asm
kernel.asm:5: error: parser: instruction expected
I have copied out my file into the bin directory.
But it prints out the above message. I typed in "help" to see the available instructions but nasm isn't anywhere to be found ?