home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Assembly language users of BCDASM:
- ; 1. Define a memory model with stdcall, c, or pascal
- ; language specifer, e.g. <.model small, pascal>
- ; 2. Use 80186+ instructions, e.g. <.186>
- ; 3. Include this file in every module that calls
- ; BCDASM procedures
- ; 4. Link with the appropriate bcd????.lib file
- ; (run makelib.bat for a list of memory models)
- ;
-
- @CODESEG MACRO
- ife @CodeSize ;; Near: segment name _TEXT
- .code
- else ;; Segment name of far code
- .code BCD_TEXT
- endif
- endm
-
- if (@WordSize eq 2)
- @uint equ <word>
- else
- @uint equ <dword>
- endif
-
- if ??version ge 0320h
- @proto MACRO procname, ahrgs:REST
- procname procdesc ahrgs
- endm
- else
- @proto MACRO p0, prest
- extrn p0 :proc
- endm
- endif
-
- include bcd.ash ; Get BCDASM prototypes
-