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>.stack define stack segment directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.STACK           Define Stack Segment                               Directive

  .STACK [size]

     This directive sets up a stack segment. If you do not reserve a
     size, the default is 1024 bytes. This directive is usually used with
     the other simplified segment directives (such as .CODE and .DATA).
     To use .STACK, you must have defined the memory model with .MODEL.

       Notes:     You only need a stack if you are writing a standalone
                  assembly language program that will be made into a .EXE
                  file.

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

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