The information in this article applies to:
SYMPTOMS
When the SEGMENT directive is used with the AT combine type to place code
or initialized data at an absolute address, the generated executable file
does not initialize the segment at the specified absolute address. MASM
versions 5.0, 5.1, and 5.1a do not generate any error or warning messages.
MASM versions 6.0, 6.0a, and 6.0b generate the following warning message:
segments CAUSE
This warning is expected and caused by the design of the Microsoft Linker.
RESOLUTIONLink and locate tools that generate absolute addresses are available from third-party vendors. MORE INFORMATION
The SEGMENT AT directive is used to access a specified memory address,
for example, a code routine or data in the ROM BIOS. While SEGMENT AT
allows an application to create a template for memory at a fixed
address, it does not support initializing code or data at that
address.
Sample Code
Additional query words: 5.00 5.10 5.10a 6.00 6.00a 6.00b romable code embedded systems
Keywords : |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |