13.10 The STACKSIZE Statement

The STACKSIZE statement specifies the size of the stack in bytes. It performs the same function as LINK's /STACK option. If both are specified, the STACKSIZE statement overrides the /STACK option.

Syntax

STACKSIZE number

Remarks

The number must be a positive integer, in decimal or C-language notation, up to 64K.

Example

The following example allocates 4,096 bytes of stack space:

STACKSIZE 4096