Microsoft KB Archive/39527

= DOCERR: DUP Is a Reserved Word in MASM =

Article ID: 39527

Article Last Modified on 10/17/2003

-

APPLIES TO


 * Microsoft Macro Assembler 6.15

-



This article was previously published under Q39527



SUMMARY
The table of reserved words in MASM on Page 69 of the &quot;Microsoft Macro Assembler Programmer's Guide&quot; does not include DUP. DUP is an operator for defining arrays, buffers and other data structures consisting of multiple data objects of the same size. DUP cannot be used as a variable. For example, the following statement allocates the string &quot;Test &quot; five times for a total of 20 bytes: DB  5 DUP (&quot;Test &quot;)

Additional query words: 5.10

Keywords: KB39527

-

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

© Microsoft Corporation. All rights reserved.