KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q45763: Typographical Error in ALMUL.ASM of C Library Source

Article: Q45763
Product(s): See article
Version(s): 5.00 5.10 | 5.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | H_MASM docerr | mspl13_c
Last Modified: 13-SEP-1989

In the "Microsoft C Run-Time Library Source Routines" for C Version
5.00 or C 5.10, Line 28 of the file ALMUL.ASM in the \HELPER directory
contains a typographical error. The incorrect statement reads as
follows:

   assume ds,code

The statement should read as follows:

   assume ds,data

Since no data is defined or referenced in the original ALMUL.ASM, the
typographical error does not cause problems in the C library. However,
if you purchased the C library source code from the end user sales
department, defined and referenced data in ALMUL.ASM, and attempted to
assemble the modified ALMUL.ASM with MASM, you receive the following
error:

   error A2068: Cannot address with segment register

Correcting the error in ALMUL.ASM, as noted above, corrects the
problem.

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.