Getting Started with MASM | |
|Updated 3/15/2008 | |If you've recently purchased Assembly Language for Intel-Based Computers, 5th edition, you probably want to get the software set | |up so you can start working. This tutorial should make the process easier. If you're in a hurry to get started, you only need to | |read Item 1. | |Required setup for 32-bit applications | |Building 16-bit applications (Chapters 12-16) | |Project properties settings | |Creating a project from scratch | |Generating a source listing file | |Using the Visual Studio 2005 debugger | |MASM syntax highlighting | |Assembling, linking, and debugging with a batch file | |Found an error in this document? Please email me immediately. Except where noted, all instructions in this document apply equally| |to Visual Studio 2005 and Visual C++ 2005 Express. | |[pic] | |Required Setup for 32-bit Applications | |If you are using Visual Studio 2005 Professional or Team Suite, these products already contain the Microsoft Assembler 8.0. You | |can skip Steps 1 and 2 and go directly to Step 3. | |Step 1: Install Visual C++ 2005 Express Edition | |You may have received a CDROM accompanying this book depending on which edition your bookstore ordered. The CDROM contains Visual| |C++ 2005 Express Edition. You will use it to write, edit, compile, debug, and run your assembly language programs. If you did not| |receive a CDROM, download the software now from Microsoft. | |Note: Microsoft has indicated an interest in bundling MASM with Visual C++ 2008 Express. We hope that will happen soon! | |When you run the Visual C++ setup program, make a note of the location where the C++ compiler is installed. This information will| |be useful to you later. | |From now on, we will leave the "2005" out of the name Visual C++ Express. | |Step 2: Download and Install the Microsoft Assembler | |Visit Microsoft's MASM 8.0 download site. | |Follow the download and installation instructions on the Microsoft page. If the link is broken, please let us know by email. | |Step 3: Installing the Book's Example Programs | |Click...
Please join StudyMode to read the full document