Making Multiple Initialized Far Data Segments (34379)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 5.0
- Microsoft Macro Assembler (MASM) 5.1
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q34379 SUMMARY
You can have multiple initialized far-data segments by using the
.fardata [name] directive, as documented on page 88 of the
"Microsoft Macro Assembler 5.1 Programmers Guide", page 33 of the
"Microsoft Macro Assembler Reference" and under topic fardata in the
QuickHelp for versions 6.0, 6.0a, and 6.0b. Just make sure that the
segments have different names. In versions prior to 6.0, it is
possible to leave one of the segments with the default name. With
6.0 and later, the symbol @fardata will be the segment value of the
last segment declared with .fardata [name], which may not be the
one with the default name.
Modification Type: | Major | Last Reviewed: | 10/22/2003 |
---|
Keywords: | KB34379 |
---|
|