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

操作系统开发

开发平台:

Visual C++

  1. ;/*
  2. ; *                      Microsoft Confidential
  3. ; *                      Copyright (C) Microsoft Corporation 1991
  4. ; *                      All Rights Reserved.
  5. ; */
  6. ; define the segment ordering        ;AN000;bgb
  7.        ;AN000;bgb
  8. data segment public para 'DATA'                                             ;AN000;bgb
  9. data ends ;put this 1st so that the recmsg works        ;AN000;bgb
  10.        ;AN000;bgb
  11. code segment public PARA 'CODE'                                             ;AN000;bgb
  12. code ends        ;AN000;bgb
  13.        ;AN000;bgb
  14. const segment public para 'const'                                            ;AN000;bgb
  15. const ends        ;AN000;bgb
  16.        ;AN000;bgb
  17. cstack segment stack word 'stack'                                             ;AN000;bgb
  18. db (362 - 80h) + 256 dup (?) ; (362 - 80h) == IBM's ROM requirements ;AN000;bgb
  19. cstack ends ; (New - Old) == size of growth  ;AN005;bgb
  20. ;AN005;bgb
  21. lastseg segment public para 'last_s'                                              ;AN005;bgb
  22. lastseg ends  ;put last because 'table' writes over memory   ;AN005;bgb
  23. ;AN000;bgb
  24. dg group data,const,code,cstack,lastseg ;AN000;bgb
  25. assume cs:dg,ds:dg,es:dg,ss:CSTACK ;AN000;bgb