Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Compact Memory Model: Details
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The compact memory model allows a single segment for program code
     and multiple segments for program data. This memory model causes
     the assembler to produce files with the .EXE extension.
 
     Compact-model programs are limited to one code segment but can have
     several data segments. The defaults in compact-memory programs are
     NEAR code addressing and FAR data addressing. The PROC distance is
     FAR under the compact-model option. @CodeSize is 0, @DataSize is 1,
     and @Model is 3.
 
     See also: .MODEL
                                    -♦-