Page 4 of 8
Re: Dont care
Posted: Sat Nov 15, 2008 8:27 pm
by cotton509
People i am running into the problem when i use the nasm comand in comand promt the problem is do i use a text editor and save the files as .s and .o then use the comand wich them makes them work?
Re: Dont care
Posted: Sat Nov 15, 2008 8:34 pm
by Troy Martin
Save it to a .asm file and then run "nasm -o output.ext source.asm" or something like that.
Re: Dont care
Posted: Sat Nov 15, 2008 8:35 pm
by cotton509
oh i just got it thanks troy.
Re: Dont care
Posted: Sat Nov 15, 2008 8:37 pm
by Troy Martin
No problem.
Re: Dont care
Posted: Sat Nov 15, 2008 8:38 pm
by cotton509
nope it did nothing grrr i am hating nasm.
Re: Dont care
Posted: Sat Nov 15, 2008 8:39 pm
by lollynoob
Don't hate NASM, it's working just as it should. You're the one incapable of using a simple command line tool.
Re: Dont care
Posted: Sat Nov 15, 2008 8:39 pm
by Troy Martin
/facepalm
What does it spit out, what errors?
Re: Dont care
Posted: Sat Nov 15, 2008 8:41 pm
by cotton509
no the comand line goes back to the directory i set but it did nothing like the file is forect i used nasm.c and compiler.h
Re: Dont care
Posted: Sat Nov 15, 2008 8:41 pm
by Troy Martin
That's what nasm does when it finds no errors. Your file should be in that directory.
Re: Dont care
Posted: Sat Nov 15, 2008 8:42 pm
by lollynoob
no the comand line goes back to the directory i set but it did nothing like the file is forect i used nasm.c and compiler.h
If you used "nasm.c" and "compiler.h" you're doing something wrong; those files don't exist.
Re: Dont care
Posted: Sat Nov 15, 2008 8:46 pm
by cotton509
yes they do
Re: Dont care
Posted: Sat Nov 15, 2008 8:47 pm
by lollynoob
Show me.
Re: Dont care
Posted: Sat Nov 15, 2008 8:47 pm
by cotton509
i will try assemble
Re: Dont care
Posted: Sat Nov 15, 2008 8:48 pm
by lollynoob
You've been "try assemble" this whole time, why does anyone need to know that?
Re: Dont care
Posted: Sat Nov 15, 2008 8:50 pm
by Troy Martin
Take a screenshot of the directory or folder. Attach it to a reply. Prove to us that these files exist.