hi guys, I'm new to assembly alnguage. I hanve installed NAM in my ubuntu linux. I'm trying to execute a .asm file in NASM using command ,
nasm -f elf32 <filename.asm> -o <filename>
I'm getting follwing error when I'm using this command,
kernel.asm:9: error: parser: instruction expected
How can I remove this error? What does this actually means?

That's the example command and not the one you would really use. The <filename.asm> is not literal. You replace that with your text file.asm you want to assemble. Same goes for the -o output name.

Find a helloworld.asm to start with. Like with https://www.google.com/#q=nasm+hello+world+linux+64

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.