KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q63321: C 6.00 STARTUP.DOC Requests Wrong MASM Version

Article: Q63321
Product(s): See article
Version(s): 6.00   | 6.00
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | docerr | mspl13_c
Last Modified: 25-JUL-1990

The Microsoft C version 6.00 STARTUP.DOC, under the "C Runtime Library
Startup Sources" section, states that in order to build the start-up
object files, MASM version 5.00 or later is required. However, when
using MASM 5.00, the following error

   A2009: symbol not defined: @F

is produced. To work around this problem, two lines in CRT0DAT.ASM
must be changed. Lines 701 and 703, which involve a jump to @F, should
be changed as demonstrated below.

Code Example
------------

Line 701:      jne    @F           (jump forward to @F)
should read    jne    FOO          (where foo is any symbol
                                    other than @F)

Line 703:      @@:
should read    FOO:

This problem does not occur when MASM version 5.10 or later is used.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.