home *** CD-ROM | disk | FTP | other *** search
- .xlist
- ;
- ; Assembly language definitions for Turbo C++ 1.0, Version 1.00
- ; Copyright (C) 1989, 1990 Paradigm Systems. All rights reserved.
- ;
- ; This include file helps set the memory model variables and defines
- ; data structures used by Turbo C++ assembly language modules.
- ;
-
- IFDEF ??Version ; Check for TASM
- NOWARN RES ; Turn off reserved words warnings
- NOWARN PDC ; Disable pass 1 warnings
- ENDIF ; ??Version
-
- IF1 ; Pass 1 definitions
- %out Paradigm LOCATE Turbo C++ 1.0 Startup Support
-
- ;
- ; Determine the memory module begin used and define values which can
- ; be tested later. This section appears after the default segment
- ; declarations to avoid any problems with changing the default alignment
- ; characteristics.
- ;
- IFDEF __S__
- @CodeSize = 0
- @DataSize = 0
- pptr equ near ptr
- %out Assembling for the small memory model
- ELSEIFDEF __C__
- @CodeSize = 0
- @DataSize = 1
- pptr equ near ptr
- %out Assembling for the compact memory model
- ELSEIFDEF __M__
- @CodeSize = 1
- @DataSize = 0
- pptr equ far ptr
- %out Assembling for the medium memory model
- ELSEIFDEF __L__
- @CodeSize = 1
- @DataSize = 1
- pptr equ far ptr
- %out Assembling for the large memory model
- ELSEIFDEF __H__
- @CodeSize = 2
- @DataSize = 2
- pptr equ far ptr
- %out Assembling for the huge memory model
- ELSE
- @CodeSize = 0
- @DataSize = 0
- pptr equ near ptr
- %out No model specified - Assembling for the small memory model
- ENDIF ; IFDEF
- ENDIF ; IF1
-
- IFDEF ??Version ; Check for TASM
- WARN PDC ; Turn warnings back on
- ENDIF ; ??Version
-
- ;
- ; Initializer/terminator structure format. This is used by the
- ; startup code to automatically initialize run-time library packages.
- ;
- InitRec struc
- ctype db ? ; 0=near, 1=far, 0ffh=not used
- pri db ? ; 0=highest, 0ffh=lowest
- foff dw ? ; Function offset
- fseg dw ? ; Function segment
- InitRec ends
-
- .list