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>.const defines constant data segment directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.CONST           Defines Constant Data Segment                      Directive

  .CONST

     You use .CONST to define a constant data segment. All statements
     that you place after a .CONST directive are placed into the
     constant data segment.

     You end the definition of the constant data segment with another
     segment directive (such as .CODE) or an END directive, which
     indicates the end of the file.

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

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

       Notes:     Use .CONST for static data.

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

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