Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Large Memory Model: Details
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The large memory model allows multiple segments for both program
     code and program data. This memory model causes the assembler to
     produce files with the .EXE extension.
 
     The defaults in large-memory programs are FAR code addressing and
     FAR data addressing. The PROC distance is FAR under the
     large-model option. @CodeSize is 1, @DataSize is 1, and @Model is
     5.
 
     The huge model is identical to the large model for assembly
     language programs, but @CodeSize is 1, @DataSize is 2, and @Model
     is 6. It is provided for code documentation and consistency with
     other languages. In other languages, the huge memory model allows
     the compiler to control data items that span data segments. In
     assembly language, this type of data must be handled by the user.
 
     See also: .MODEL
                                    -♦-