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

Article: Q32832
Product(s): Microsoft Macro Assembler
Version(s): 5.1
Operating System(s): 
Keyword(s): 
Last Modified: 04-MAY-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Macro Assembler (MASM), 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          :  
Technology        : kbMASMsearch kbAudDeveloper kbMASM510
Version           : :5.1

=============================================================================