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 .data segment name predefined equ</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@DATA            .DATA Segment Name                      Predefined EQU

  @DATA

     This predefined equate returns the name of the current data segment or
     group as defined with the .DATA directive. Because the name of the data
     segment can change with memory model, this predefined equate can be very
     useful.

     You use @DATA like this: ASSUME DS:@DATA.

     @DATA represents the group name shared by all near data segments,
     including the segments created by the .DATA, .DATA?, .CONST and .STACK
     directives.

       Notes:         The @DATA predefined equate is also useful to
                      generate segment overrides. To use simplified segment
                      directives like .DATA, you must have specified a
                      memory model with the .MODEL directive.

See Also: @CODE @FARDATA

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