qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
StackLimit Constant
  System Unit Example Contents Index                      Back
 
  CONST
 
      StackLimit : Word = 0;    { stack pointer lower bound }
 
  Unit:     System (used automatically)
 
  Context:  SPtr, SSeg
 
  Description
 
    The StackLimit constant holds the limit that the stack may reach.
 
    The stack grows downward (toward 0) from the top of the stack
    segment. StackLimit holds the minimum address that the stack pointer
    may hold. The default is 0.
 
    The SP register holds the current offset of the stack pointer. The
    function SPtr returns the value of SP. The function SSeg returns the
    segment address of the stack.
 
    Control the total size of the stack with the $M compiler directive.