home *** CD-ROM | disk | FTP | other *** search
- page 60, 132
- title
- name
- comment ÷
- V1.00
- ==========================================================================
- NAME
-
- SYNOPSIS
-
- PROTOTYPE
-
- DESCRIPTION
-
- CAUTION
-
- RETURNS
-
- PROGRAMMING NOTES
- Assembled with Microsoft MASM V6.11d with the options
-
- Use MEMMOD to specify the memory model.
- /dMEMMOD=TINY|SMALL|COMPACT|MEDIUM|LARGE|HUGE
- or'=
- Assembled using the memory model
-
- REGISTER USAGE
- Small Data Memory Models:
- AX, BX, CX, DX, DI, and SI. SI and DI registers are preserved.
-
- Additional registers used in Large Data Memory Models:
- DS. DS register is pereserved.
-
- MEMORY UTILIZATION
- DATA
- DGROUP
- Constant:
- Initialized:
- Unitialized:
-
- CODE
- 8086 80286+
- Small Code Model:
- Large Code model:
-
- STACK
- Small Code Model:
- Large Code model:
-
- PERFORMANCE
-
- EXTERNAL LIBRARIES
- Name Library
- CHECK_STACK ALIBX ; DEBUG ONLY, Replace X with memory model
-
- EXTERNAL PROCEDURES
- Name Source
-
- INTERUPTS CALLED
-
- GLOBAL NAMES
-
- AUTHOR
- Raymond Moon -
-
- Copyright (c) 1996 - Raymond Moon
- ALL RIGHTS RESERVED
-
- HISTORY
- Version - Date - Remarks
- 1.00 - - Orginal
- ==========================================================================
- ÷ Comment End
-
- ;----------------------------
- ; A Make the small memory model the default.
-
- ifndef memmod
- memmod equ <small>
- endif
-
- ;----------------------------
- ; B Specify processor, memory model, language and ES register assume.
-
- include procesor.inc ; Specify target processor
- % .model memmod, fortran
- assume es:DGROUP
-
- ;-----------------------------
- ; C Include files
-
- include startup.inc
- include lib.inc
-
- ;=========================================================================
- ; D DATA
- ;=========================================================================
- .DATA
-
- .CONST
-
- .DATA?
-
- ;=========================================================================
- ; E CODE
- ;=========================================================================
-
- .CODE
-
- proc
-
- ;----------------------------
- ; F Place automatic variables here.
-
-
- ;----------------------------
- ; G Call Stack Check if DEBUG is defined.
-
- ifdef DEBUG
- call Stack_Check
- endif
-
-
-
-
-
- endp
- end
-