The information in this article applies to:
SUMMARY
The .MODEL assembler directive forces the segments in the resulting
executable program to be ordered as if the DOSSEG directive had been
used. This will override any other directives used to organize
segments in an executable program. The code below demonstrates this
behavior.
/A and /S command line switchesThis behavior is not documented and no warnings or errors are generated. This behavior is also true with QuickAssembler versions 2.01 and 2.51. The .MODEL assembler directive was designed for use in mixed-language programming. Because of this, it will automatically order the segments in a way compatible with the way higher-level language compilers order them. This will happen even if the <,language> option on the .MODEL directive is not used. MORE INFORMATION
The map file created from the linker is included below.
When the .MODEL and .STACK directives are removed (.STACK must be
removed because it requires .MODEL), the following map file results.
Note that the segments appear in the proper order in this case.
Sample Code
Additional query words: 5.10 5.10a 6.00 6.00a 6.00b
Keywords : |
Last Reviewed: January 12, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |