Turning a 16-bit Protected Segment into a 32-bit Segment (123688)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.1
- Microsoft Macro Assembler (MASM) 6.11
This article was previously published under Q123688 SUMMARY
By default, 32-bit code created in MASM exists in 16-bit segments. This
article shows by example how to use DPMI calls to change a 16-bit segment
into a 32-bit segment.
NOTE: On a 386, almost no improvement in performance results from using
32-bit code in a 32-bit segment over using 32-bit code in a 16-bit segment.
There may be slight performance improvement on a 486 due to the effects of
the 66h prefix byte on instruction pipelining.
Modification Type: | Minor | Last Reviewed: | 2/11/2004 |
---|
Keywords: | KB123688 |
---|
|