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

  @CODE

     This predefined equate translates to the name of the code segment when
     you use the .CODE directive. Because the name of the code segment can
     change with memory model, this predefined equate can be very useful.

     You can use it this way: ASSUME DS:@CODE.

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

See Also: @DATA

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