DOCUMENT:Q39370 06-MAY-2001 [masm] TITLE :Addressing above 1 Megabyte Under MS-DOS PRODUCT :Microsoft Macro Assembler PROD/VER::5.0,5.1a,6.0,6.0a,6.0b OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Macro Assembler (MASM), versions 5.0, 5.1a, 6.0, 6.0a, 6.0b ------------------------------------------------------------------------------- SUMMARY ======= When a 80286 or higher processor is in real mode, addressing is done using a 16-bit segment and 16-bit offset. Therefore, it is only possible to address up to 1 megabyte of memory. To address memory above 1 meg under MS-DOS, you have to put the processor into protected mode by using IBM ROM BIOS Interupt 15 Function 89h. Addressing will be done using a selector into a descriptor table. For more information about this interrupt, call IBM hardware support, (800) 426-2468. If ROM BIOS routines are not operating as expected, you may need to contact the company that supplied the BIOS in your particular machine. For more information about protected mode, selectors and descriptor tables, see the Intel guides for the 80286, 80386, or 80486 or "Microsoft's 80386/80486 Programming Guide". Additional query words: 5.00 5.10a 6.00 6.00a 6.00b ====================================================================== Keywords : Technology : kbMASMsearch kbAudDeveloper kbMASM600 kbMASM500 kbMASM600a kbMASM510a kbMASM600b Version : :5.0,5.1a,6.0,6.0a,6.0b ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.