Microsoft KB Archive/24957

From BetaArchive Wiki

No Stack Segment Link Error ID Number: Q24957

1.25 1.27 3.0x 4.00 5.00 MS-DOS

Problem:

I have declared a segment called STACK and receive no error messages at assemble time. However, the linker generates the warning message “no stack segment” at link time.

Response:

This is only a warning message. In your program, you can either declare or not declare a stack. The following is an example of a stack segment:

STACK SEGMENT word DW ? dup(1000) ; This must be here STACK ENDS