Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>@datasize indicates data size predefined equ</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@DATASIZE        Indicates Data Size                     Predefined EQU

  @DATASIZE

     This predefined equate evaluates to 0 if you are using the TINY (TASM),
     SMALL, or MEDIUM memory models, all of which limit data to one segment.

     It evaluates to 1 for COMPACT and LARGE memory models, and 2 for the HUGE
     memory model.

     @DATASIZE is particularly useful for model-dependent programs. With it,
     you can determine how much data space is available to you, and what size
     data pointers should be.

See Also: @CODESIZE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson