PRB: Spontaneous Assembly and MASM 6.11 ErrorsLast reviewed: January 9, 1995Article ID: Q110598 |
The information in this article applies to:
SYMPTOMSUsing the Spontaneous Assembly version 3.0 include files with MASM 6.11 may cause numerous A2006 (undefined symbol) or A2008 (syntax error) errors to be generated.
CAUSEThese errors occur because Spontaneous Assembly code incorrectly sets up the include files to use MASM 5.1 syntax. This problem occurs with code that assembles cleanly using MASM 6.0 or 6.1. Earlier versions of Spontaneous Assembly may have similar problems.
MORE INFORMATIONThe Spontaneous Assembly include files check for the version of assembler being used. These files do not specifically check for MASM 6.11, and therefore end up setting it for MASM 5.1, which causes the errors. The version checking is done in the Spontaneous Assembly file UTIL.INC, which can easily be corrected to work with MASM 6.11 by making the following change: Line 6 of UTIL.INC reads:
ELSEIF ((@Version EQ 600) OR (@Version EQ 610))Change it to read as follows:
ELSEIF ((@Version EQ 600) OR (@Version EQ 610) OR (@Version EQ 611))This adds the version test specifically for MASM 6.11. You can also change line 6 to the following
ELSEIF (@Version GE 600)to permit all versions of MASM 6.0 and later to be used.
|
Additional reference words: 6.1x
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |