PRB: Assume Directive Not Displayed (11902)



The information in this article applies to:

  • Microsoft Macro Assembler (MASM) 1.25
  • Microsoft Macro Assembler (MASM) 1.27
  • Microsoft Macro Assembler (MASM) 3.0x
  • Microsoft Macro Assembler (MASM) 4.0
  • Microsoft Macro Assembler (MASM) 5.0
  • Microsoft Macro Assembler (MASM) 5.1
  • Microsoft Macro Assembler (MASM) 6.0

This article was previously published under Q11902

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.

Modification Type:MinorLast Reviewed:2/11/2004
Keywords:KB11902