Microsoft KB Archive/32832

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

Article ID: 32832

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.1 Standard Edition

-



This article was previously published under Q32832



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: KB32832

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.