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

  .FARDATA? [name]

     The .FARDATA? directive is used to start the definition of a far
     uninitialized data segment. You define uninitialized data with the ?
     symbol.

     The statements following .FARDATA? are put into the FAR
     uninitialized data segment(s). You end the definition of the segment
     with another segment directive (such as .CODE), or an END directive
     which indicates the end of the file.

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

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

       Notes:     FAR data segments are not put together into a
                  group, and all entries in them are identified by 32-bit
                  addresses. You can use as many .FARDATA? directives as
                  you want in a file.

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

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