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>.data? define uninitialized data segment directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.DATA?           Define Uninitialized Data Segment                  Directive

  .DATA?

     The .DATA? directive is used to start the definition of the
     unitialized data segment. You define unitialized data with the ?
     symbol, like this: APPLES 5 DUP(?). You end the definition of
     the data segment with another segment directive (such as .CODE) or
     an END directive, which indicates the end of the file.

     Before you use .DATA?, you must have defined a memory model with the
     .MODEL directive.

     The advantage of .DATA? is that it is translated into the standard
     uninitialized data segment name for that memory model when the file
     is assembled, which makes it easy to link into high-level languages.

       Notes:     Use the .DATA directive for initialized data.

See Also: .CODE .CONST .DATA .FARDATA .MODEL

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