Microsoft KB Archive/23615

Word Matching Dummy Parameter in Macro Is Replaced ID Number: Q23615

4.00 MS-DOS buglist4.00 fixlist5.00

Problem:

A word in a comment statement that matches the dummy parameter used in the macro will be replaced with the parameter of the macro. The following source and listing file illustrates this problem:

example: demo macro set mov ds,ax ;set up proper ds segment endm code segment ‘code’ assume cs:code demo true code ends

listing file: mov ds,ax ;true up proper ds segment

Response:

Microsoft confirmed this to be a problem in Version 4.00 of the Macro Assembler. The problem was corrected in Version 5.00.