> How to run Nasm, from MS-DOS window or from Run box?
What I've doen is:
1. Create a tree dir for nasm:
mkdir c:\NASM\BIN
mkdir c:\NASM\INC
mkdir c:\NASM\LIB
2. Put nasm.exe in c:\NASM\BIN
3. Add c:\NASM\BIN to the PATH environment variable.
SET PATH=%PATH%;c:\NASM\BIN
Is possible create a nasmenv.bat with:
SET PATH=%PATH%;c:\NASM\BIN
Now you can invoke nasm from any work directory.
More simple:
Put nasmw.exe in your system directory
(C:\Windows\System32)
> What format need be source files to compile?
A simple text file.
> What editor is suitable to edit source code?
Any editor you want. I use VIM, Windows/Linux
portable:
http://www.vim.org/download.phpAgo time I used PEF, Windows.
Many people use RadAsm Ide, Windows:
http://www.radasm.com/NAGOA was developed to work with NASM, and
includes a lot of features, include files
with macros, samples source code, texts.
Windows:
http://visual-assembler.pt.vu/> Need compile code with the following parameters:
> nasmw -s -fbin -o filename.s filename.asm
Run the win console.
Go to your work dir: cd C:\my\work\dir
Add the path where is nasmw.exe to your PATH:
SET PATH=%PATH%;c:\NASM\BIN
now do:
nasmw -s -fbin -o filename.s filename.asm
------
nmt