Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section 1.3.11.3.1. Installing NASM under MS-DOS or Windows ---------------------------------------------- Once you've obtained the DOS archive for NASM, `nasmXXX.zip' (where `XXX' denotes the version number of NASM contained in the archive), unpack it into its own directory (for example `c:\nasm'). The archive will contain four executable files: the NASM executable files `nasm.exe' and `nasmw.exe', and the NDISASM executable files `ndisasm.exe' and `ndisasmw.exe'. In each case, the file whose name ends in `w' is a `Win32' executable, designed to run under `Windows 95' or `Windows NT' Intel, and the other one is a 16- bit `DOS' executable. The only file NASM needs to run is its own executable, so copy (at least) one of `nasm.exe' and `nasmw.exe' to a directory on your PATH, or alternatively edit `autoexec.bat' to add the `nasm' directory to your `PATH'. (If you're only installing the `Win32' version, you may wish to rename it to `nasm.exe'.) That's it - NASM is installed. You don't need the nasm directory to be present to run NASM (unless you've added it to your `PATH'), so you can delete it if you need to save space; however, you may want to keep the documentation or test programs. If you've downloaded the DOS source archive, `nasmXXXs.zip', the `nasm' directory will also contain the full NASM source code, and a selection of Makefiles you can (hopefully) use to rebuild your copy of NASM from scratch. Note that the source files `insnsa.c', `insnsd.c', `insnsi.h' and `insnsn.c' are automatically generated from the master instruction table `insns.dat' by a Perl script; the file `macros.c' is generated from `standard.mac' by another Perl script. Although the NASM source distribution includes these generated files, you will need to rebuild them (and hence, will need a Perl interpreter) if you change insns.dat, standard.mac or the documentation. It is possible future source distributions may not include these files at all. Ports of Perl for a variety of platforms, including DOS and Windows, are available from www.cpan.org. automatically generated by info2www version 1.2.2.9 |