Microsoft KB Archive/30383

= FIX: SUBSTR Will Not Work if Target Is the Same as Source =

Article ID: 30383

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.1 Standard Edition

-



This article was previously published under Q30383



SYMPTOMS
The SUBSTR assignment to A in the following program should not be different than the SUBSTR assignment to B:   .MODEL SMALL .CODE A  equ B  substr A,4 A  substr A,4 END In this program, the assignment to B is &quot;abcdef&quot;. The assignment to A is &quot;def&quot;.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Macro Assembler (MASM) version 5.1. This problem was corrected in MASM version 5.1a.

Additional query words: 5.10 buglist5.10 fixlist5.10a

Keywords: kbfix KB30383

-

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

© Microsoft Corporation. All rights reserved.