home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / ASM / BCDASM.ZIP / BCDASM / INCLUDE / BCD.ASI < prev    next >
Encoding:
Text File  |  1997-06-03  |  818 b   |  37 lines

  1.     ;
  2.     ; Assembly language users of BCDASM:
  3.     ; 1. Define a memory model with stdcall, c, or pascal
  4.     ;    language specifer, e.g. <.model small, pascal>
  5.     ; 2. Use 80186+ instructions, e.g. <.186>
  6.     ; 3. Include this file in every module that calls
  7.     ;    BCDASM procedures
  8.     ; 4. Link with the appropriate bcd????.lib file
  9.     ;    (run makelib.bat for a list of memory models)
  10.     ;
  11.  
  12. @CODESEG MACRO
  13.     ife @CodeSize        ;; Near: segment name _TEXT
  14.     .code
  15.      else            ;; Segment name of far code
  16.     .code BCD_TEXT
  17.     endif
  18.     endm
  19.  
  20.     if (@WordSize eq 2)
  21.     @uint equ <word>
  22.      else
  23.     @uint equ <dword>
  24.     endif
  25.  
  26.         if ??version ge 0320h
  27. @proto    MACRO procname, ahrgs:REST
  28.     procname procdesc ahrgs
  29.     endm
  30.      else
  31. @proto    MACRO p0, prest
  32.     extrn p0 :proc
  33.     endm
  34.         endif
  35.  
  36.     include bcd.ash     ; Get BCDASM prototypes
  37.