KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q38015: MASM m.exe Is Different than FORTRAN m.exe when Using DOS Comp

Article: Q38015
Product(s): See article
Version(s): 1.00   | 1.00
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | h_fortran | mspl13_basic
Last Modified: 6-JAN-1989

Question:

When I do a Comp command at the DOS prompt, why do the FORTRAN Version
4.10 and MASM Version 5.10 packages contain m.exe files that differ at
offset 15F9F, where the MASM m gives 37 and the FORTRAN m gives 38?
Which one should I use for mixed-language programming?

Response:

This behavior is an error that was discovered after MASM Version 5.10
was released, but before FORTRAN Version 4.10 was shipped. You can see
this by invoking the editor and entering SHIFT+F1, which gives you
file information. The date given in the MASM file is Jan. 29, 1987
(hex37) when it should be Jan. 29, 1988 (hex 38). Other than this
character in the date, they are identical, so you can use either one
for mixed-language programming.

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.