This CD-ROM contains a full copy of Microsoft Macro Assembler (MASM) 6.15, provided through a distribution license from Microsoft Corporation. |
Book's Web site, full of lots of great stuff!
Installing the Microsoft Macro Assembler version 6.15
Installing the TextPad Editor by Helios Software Solutions
Assembly Language Workbook on the author's Web site.
Assembly Language Sources Web page (by the author).
Read Chapter 17 (Adobe Acrobat file)
Optional: Running Microsoft's original MASM 611 Setup program
Read notes on Technical Support for this CD-ROM.
The author maintains a discussion group to answer questions about the book. Look for "discussion group" in the list of headings on the book's Web site.
Operating System: To run the automated Setup program (Setup.exe) in the root directory of this CD-ROM, you must be running Microsoft Windows 98, Windows NT, Windows 2000, Windows XP, or Windows Millenium. View the readme.txt file on this CD-ROM for more details.
If you are running MS-DOS or Linux (using a DOS emulator), run the MASM 611 setup program.
To read the online Chapter 17 file, you will need the Adobe Acrobat Reader program. You can download it for free from www.adobe.com.
Microsoft's MS-DOS-based MASM Setup program was created in 1993. To use this setup program, do the following steps in order:
Change to the \MASM611 directory of this CD-ROM, and run the Setup.exe program found in that directory.
Copy the file ML614.EXE to the hard drive directory chosen during the MASM installation in the preceding step. This program is an upgrade patch that will convert MASM 6.11 into MASM 6.14.
Run the ML614.EXE program. This will install an upgrade patch to MASM 611, turning it into MASM 614.
(At the current time, Microsoft does not publish an upgrade patch to MASM 6.15, unless you install the Visual Studio Processor pack. This could change, so be sure to check Microsoft's Web site for any updates.)
To install the Assembler and all the sample programs for our book, run the Setup.exe program in the root directory of this CD-ROM.
You will be prompted for the install directory for MASM. We highly recommend that you select the default location of C:\Masm615. If you decide to select some other location for MASM, click here to find out how to modify the batch files for assembling and linking.
For 32-bit Protected mode programming, two excellent debuggers you can use are:
Microsoft Visual C++ Debugger - This is an integral part of Microsoft Visual Studio. Look for a tutorial on our book's Web page that shows how to set up and use this debugger.
Microsoft WinDbg Debugger - This is a stand-alone debugging utility that can be used to debug both user-mode programs and kernel-mode programs (such as device drivers). At the current time, this debugger can be downloaded for free from Microsoft's Debugging Tools for Windows web page. If this link becomes inactive, check our book's Web site for an updated URL.
If you run the Setup.exe program in the root directory of the CD-ROM, it will install all the example programs on your hard drive, in the C:\Masm615\Examples directory. (If you selected another install location, adjust the preceding path name accordingly.)
If you are using a DOS emulator under Linux, you will have to run the Setup.exe program located in the \MASM611 directory of the CD-ROM. After doing so, you can copy all files from the \Examples directory on the CD-ROM to a directory by the same name on your hard drive. The exact location is unimportant.
The example files are automatically write-protected on the CD-ROM, so you may want to un-protect them after copying them to the hard drive.
Click here to view a list of all example programs, ordered by chapter directory.
Return to top
If you plan to install MASM in a different location from C:\Masm615, there are a couple of minor restrictions involved. Also, you will have to modify three files associated with assembling, linking, and debugging: make16.bat, make32.bat, and runCV.bat.
If you plan to write 16-bit Real-mode programs, you'll need to modify the make16.bat file. You can use NotePad, TextPad, or any other plain ASCII text editor. There are a couple of things to keep in mind:
Examples of valid paths:
D:\Masm615\ | C:\Apps\Masm615\ | M:\ASM\ |
Examples of invalid paths:
C:\Asm Prog\ | \\AppServr | C:\Program Files\Masm615 |
Find the following lines in make16.bat. Change each occurrence of "C:\Masm615" to the name of your install directory. Save the file with your changes:
PATH C:\Masm615 SET INCLUDE=C:\Masm615\INCLUDE SET LIB=C:\Masm615\LIB
If you plan to write 32-bit Protected-mode programs (the default for Chapters 1-11), you'll need to modify the make32.bat file. Find the following lines, and change each occurrence of "C:\Masm615" to the name of your install directory. Save the file with your changes:
PATH C:\Masm615 SET INCLUDE=C:\Masm615\INCLUDE SET LIB=C:\Masm615\LIB
Find the following lines in runCV.bat. Change each occurrence of "C:\Masm615" to the name of your install directory. Save the file with your changes:
PATH C:\Masm615 SET HELPFILES=C:\Masm615 SET INIT=C:\Masm615