stack2.inc
上传用户:xiaoan1112
上传日期:2013-04-11
资源大小:19621k
文件大小:1k
源码类别:

操作系统开发

开发平台:

Visual C++

  1. ;***
  2. ; STACK.INC - 18-Feb-88 - Stack size definitions
  3. ;***
  4. .XLIST
  5. ;***
  6. ;
  7. ; Copyright <C> 1987, Microsoft Corporation
  8. ;
  9. ;Purpose:
  10. ; Stack constants
  11. ;
  12. ; WARNING:  This file is shared between the runtime and interpreter.
  13. ; WARNING:  The runtime is the official "owner", and all changes should
  14. ; WARNING:  be made there first, and then propogated to the interpreter.
  15. ;
  16. ;
  17. ;******************************************************************************
  18. STACK2_INC = -1 ;[3] remember file has been included
  19. FAT_COW  = 300h ;[6] Extra slop just in case
  20. STACK_SIZE = 0800h + FAT_COW  ;[3] Default stack size (MUST BE EVEN)
  21. STACK_MIN = 0320h + FAT_COW  ;[3] Minimum stack size
  22. STACK_CHECK = STACK_MIN-20h+1h ;[3] Stack check marker offset (MUST BE ODD)
  23. ;[3] This constant is used by runtime to ensure
  24. ;[3]  we never make long-term stack commitments
  25. ;[3]  (i.e. GOSUB, CALL, FUNCTION invocations)
  26. ;[3]  that would result in less than this many
  27. ;[3]  free bytes between SP and b$pend.