DOCERR: New Command-Line Option for MASM 5.1: /LA

ID: Q32832


The information in this article applies to:
  • Microsoft Macro Assembler for OS/2, version 5.1


SUMMARY

Version 5.10 of the Microsoft Macro Assembler (MASM) includes a new command-line option, /LA, which adds all code generated by the assembler to the listing file.

This option was omitted from the Microsoft Macro Assembler 5.1 Reference, but is given as an option by the command masm /help.


MORE INFORMATION

The command-line option /LA displays the results of the simplified segment directives and code generated by the high-level language support features. The following is a sample source file with simplified segment directives and a fragment of the listing file created by using /LA:

Sample Code


; Assemble options needed: /LA

   .model small
   .data
   .code
   end

Listing file fragment

   .model small
   assume cs:@code,ds:@data,ss:@data
   .data
   _DATA segment 'DATA'
   .code
   @CurSeg ends
   _TEXT segment  'CODE'
   end
   @CurSeg ends 

Additional query words: 5.10

Keywords :
Version : :5.1
Platform :
Issue type :


Last Reviewed: January 4, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.