Microsoft KB Archive/49245

= DOCERR: Error in Macro Example in MASM 5.1 Update Manual =

Article ID: 49245

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.1 Standard Edition

-



This article was previously published under Q49245



SUMMARY
The macro example on Page Update-23 in the &quot;Microsoft Macro Assembler 5.1: Updates and Microsoft Editor&quot; has an error in it. The macro in the example is called RestRegs.

The current example reads as follows: RestRegs   MACRO numloc  instr  regpushed,&quot;#&quot; .           .            .                  ENDM The second line should read as follows: numloc instr  regpushed,<#> However, even with this correction made to the example this macro will not work correctly on MASM version 5.1. This example does not work correctly on MASM version 5.1 due to a problem with the SUBSTR directive when assigning a string a substring of itself.

Additional query words: 5.10

Keywords: KB49245

-

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

© Microsoft Corporation. All rights reserved.