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.
Model Equate
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   @Model
 
  See also: Table of Memory Models, .MODEL, @CodeSize, @DataSize,
            @Interface
 
  Description:
 
     A predefined equate that returns one of the following values,
     depending on memory model previously defined with the .MODEL
     directive:
 
      Value   Memory model
 
        1     TINY
        2     SMALL
        3     COMPACT
        4     MEDIUM
        5     LARGE
        6     HUGE
        7     FLAT
 
     The @Model equate is the only way of identifying the TINY and FLAT
     memory models. This equate is often used in conditional assembly
     blocks. The @Model equate is defined only after a .MODEL directive.
                                    -♦-