DOWNLOAD MASM

To get MASM 6.11d, download the following files:

BINS_DDK.EXE (2.5 MBytes)  98SETUP.EXE (3.4 MBytes)  lnk563.exe (275 KBytes)  
io.mac (5916 Bytes)  io.obj (1393 Bytes)

SETUP MASM

Step1.  Execute BINS_DDK.EXE and 98SETUP.EXE to extract the files. You will have a chance to specify a directory for the extracted files.

Step 2. Run setup.exe. It creates 98ddk directory. You can specify where you want to create this directory. MASM  (ml.exe) is in 98ddk\bin\win98 directory.

Step 3. Execute lnk563.exe to extract link.exe file. Move link.exe to 98ddk\bin\win98 directory.

Step 4. Add 98ddk\bin\win98 directory to your search path (i.e. modify your autoexec.bat file's SET PATH line by appending the directory path).

USING MASM

You can use MASM to assemble and link in a single step.

For example, to assemble, create list file and link HELLO.ASM, use

ml /Flhello.lst hello.asm

Linker complains (and ignores) about an unrecognized option /r. This is a documented problem. Simply ignore it.

To assemble only (as in TASM), use /c option

ml /c /Flhello.lst hello.asm

Then link using

link hello

If  you want to run examples in the textbook, you have to link them with io.obj, like this

ml /Flbookexam.lst bookexam.asm io.obj

Good luck!