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.
Medium Memory Model: Details
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The medium memory model allows multiple segments for program code
     and a single segment for program data. This memory model causes
     the assembler to produce files with the .EXE extension.
 
     Medium-model programs can have several code segments but are
     limited to one segment of data. The defaults in medium-memory
     programs are FAR code addressing and NEAR data addressing. The
     PROC distance is NEAR under the medium-model option. @CodeSize is
     1, @DataSize is 0, and @Model is 4.
 
     See also: .MODEL
                                    -♦-