PRB: Assume Directive Not Displayed

Last reviewed: January 9, 1995
Article ID: Q11902
The information in this article applies to:
  • Microsoft Macro Assembler for MS-DOS, versions 1.25, 1.27, 3.0x, 4.0, 5.0, 5.1, and 6.0
  • Microsoft Macro Assembler for OS/2, versions 5.1 and 6.0

SYMPTOMS

The ASSUME directive in the macro definition below is not displayed in the list file. The documentation states that all the directives can be developed.

The following is an example:

   BEGIN   MACRO   x
   x       SEGMENT PUBLIC
   ASSUME  CS:x,DS:x
           ENDM

   BEGIN   NewSeg
           IRET
   NewSeg  ENDS
           END

CAUSE

By default, directives are not listed inside of macros. The only lines listed from macro expansions are ones that generate code or data.

RESOLUTION

You should use the .LISTMACROALL directive (.lall in all versions prior to 6.0) if you want to see these lines.


Additional reference words: 1.25 1.27 3.0x 4.00 5.00 5.10 6.00
KBCategory: kbtool kbprb
KBSubCategory: MLIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 9, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.