◄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.