home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / ASM / STRTUP10.ZIP / STARTUP.ZIP / TEMPLATE / ASMPROC.ASM next >
Encoding:
Assembly Source File  |  1997-02-28  |  2.3 KB  |  129 lines

  1.     page 60, 132
  2.     title
  3.     name
  4. comment ÷
  5.                                 V1.00
  6. ==========================================================================
  7. NAME
  8.  
  9. SYNOPSIS
  10.  
  11. PROTOTYPE
  12.  
  13. DESCRIPTION
  14.  
  15. CAUTION
  16.  
  17. RETURNS
  18.  
  19. PROGRAMMING NOTES
  20.         Assembled with Microsoft MASM V6.11d with the options
  21.  
  22.     Use MEMMOD to specify the memory model.
  23.     /dMEMMOD=TINY|SMALL|COMPACT|MEDIUM|LARGE|HUGE
  24.         or'=
  25.         Assembled using the        memory model
  26.  
  27. REGISTER USAGE
  28.     Small Data Memory Models:
  29.     AX, BX, CX, DX, DI, and SI.  SI and DI registers are preserved.
  30.  
  31.     Additional registers used in Large Data Memory Models:
  32.     DS.  DS register is pereserved.
  33.  
  34. MEMORY UTILIZATION
  35.     DATA
  36.         DGROUP
  37.         Constant:
  38.         Initialized:
  39.         Unitialized:
  40.  
  41.     CODE
  42.                     8086    80286+
  43.         Small Code Model:
  44.         Large Code model:
  45.  
  46.     STACK
  47.         Small Code Model:
  48.         Large Code model:
  49.  
  50. PERFORMANCE
  51.  
  52. EXTERNAL LIBRARIES
  53.     Name        Library
  54.     CHECK_STACK    ALIBX        ; DEBUG ONLY, Replace X with memory model
  55.     
  56. EXTERNAL PROCEDURES
  57.     Name        Source
  58.  
  59. INTERUPTS CALLED
  60.  
  61. GLOBAL NAMES
  62.  
  63. AUTHOR
  64.     Raymond Moon - 
  65.  
  66.         Copyright (c) 1996 - Raymond Moon
  67.     ALL RIGHTS RESERVED
  68.  
  69. HISTORY
  70.     Version    - Date        - Remarks
  71.     1.00    -        - Orginal
  72. ==========================================================================
  73.     ÷ Comment End
  74.  
  75. ;----------------------------
  76. ; A    Make the small memory model the default.
  77.  
  78. ifndef    memmod
  79. memmod    equ    <small>
  80. endif
  81.  
  82. ;----------------------------
  83. ; B    Specify processor, memory model, language and ES register assume.
  84.  
  85.     include procesor.inc            ; Specify target processor
  86. %    .model memmod, fortran
  87.     assume es:DGROUP
  88.  
  89. ;-----------------------------
  90. ; C    Include files
  91.  
  92.         include startup.inc
  93.     include lib.inc
  94.  
  95. ;=========================================================================
  96. ; D    DATA
  97. ;=========================================================================
  98.     .DATA
  99.  
  100.     .CONST
  101.  
  102.     .DATA?
  103.  
  104. ;=========================================================================
  105. ; E     CODE
  106. ;=========================================================================
  107.  
  108.     .CODE
  109.  
  110.     proc
  111.  
  112. ;----------------------------
  113. ; F     Place automatic variables here.
  114.  
  115.  
  116. ;----------------------------
  117. ; G     Call Stack Check if DEBUG is defined.
  118.  
  119. ifdef   DEBUG
  120.         call    Stack_Check
  121. endif
  122.  
  123.  
  124.  
  125.  
  126.  
  127.     endp
  128.     end
  129.