The information in this article applies to:
SUMMARYA program which uses the .MODEL directive and has a procedure which receives arguments, will not assemble correctly if a language is not specified. Under Microsoft Macro Assembler (MASM) versions 5.0, 5.1, and 5.1a, the language is specified with the .MODEL directive and the following errors will be produced the language is omitted: Under MASM 6.0, 6.0a, and 6.0b, the language can be specified as part of the PROC syntax, with the .MODEL directive, with OPTION LANG, or with switches /Gc or /Gd. The following errors will be produced if the language is not specified The "Microsoft Macro Assembler Programmer's Guide" does not indicate that the language parameter is required in this case. MORE INFORMATION
The language parameter on the .MODEL directive enables the PROC
extensions, changes the scope of code labels within procedures, and
may affect naming. When the language parameter is left off, the PROC
directive will only accept a NEAR or FAR specifier.
Sample Code
Additional query words: kbinf 5.00 5.10 5.10a 6.00 6.00a 6.00b
Keywords : |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |