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.
Small Memory Model: Details
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The small memory model creates a program that contains two
     segments, one for code and one for data. This memory model causes
     the assembler to produce files with the .EXE extension.
 
     Code and data are limited to one segment each. With 16-bit
     segments, the total size of a small-model program cannot exceed
     128K. The defaults in small-model programs are NEAR code
     addressing and NEAR data addressing. The PROC distance is NEAR
     under the small-model option. @CodeSize is 0, @DataSize is 0, and
     @Model is 2.
 
     See also: .MODEL
                                    -♦-