PART 4 Appendixes

Chapter 0 Differences between MASM 6.0 and 5.1

Version 6.0 of the Microsoft Macro Assembler contains significant changes over previous versions. Some of these changes include:

An environment called Programmer's WorkBench (PWB) from which you can write, edit, debug, and execute code

Expanded functionality for structures, unions, and type definitions

New directives for generating loops and decision statements, and for declaring and calling procedures

Simplified methods for applying public attributes to variables and routines in multiple-module programs

Enhancements for writing and using macros

Flat-model support for OS/2 version 2.0 and new instructions for the 80486 processor

Section A.1 describes the new features of MASM 6.0. The appendix does not go into great detail about the new features, but it does provide references to the information presented elsewhere in the MASM 6.0 documentation. For full explanations and coding examples, see the documentation listed in the cross-references.

Section A.2 discusses compatibility with MASM 5.1. To get your MASM 5.1 code running under MASM 6.0 using OPTION M510 (or the /Zm command-line option), see Section A.2.1, “Rewriting Code for Compatibility.” To remove OPTION M510 (or /Zm) from your code, see Section A.2.2, “Using the OPTION Directive.”