home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 1.ddi / CLIBSRC.ZIP / REALCVT.ASM < prev    next >
Encoding:
Assembly Source File  |  1992-06-10  |  1.0 KB  |  45 lines

  1. ;[]-----------------------------------------------------------------[]
  2. ;|      REALCVT.ASM -- Real number conversion routine                |
  3. ;[]-----------------------------------------------------------------[]
  4.  
  5. ;
  6. ;       C/C++ Run Time Library - Version 5.0
  7. ;       Copyright (c) 1987, 1992 by Borland International
  8. ;       All Rights Reserved.
  9.  
  10.         INCLUDE RULES.ASI
  11.         %MACS
  12.  
  13. ;       Segment and Group declarations
  14.  
  15. _TEXT   SEGMENT BYTE PUBLIC 'CODE'
  16. _TEXT   ENDS
  17. _CVTSEG SEGMENT WORD PUBLIC 'DATA'
  18. _CVTSEG ENDS
  19.  
  20. DGROUP  GROUP   _CVTSEG
  21.  
  22.         ASSUME  CS:_TEXT, DS:DGROUP
  23.  
  24. ;       External References
  25.  
  26. ExtSym@         _cvtfak, ABS, __CDECL__
  27. extrn           __RealCvtVector:word
  28.  
  29. _TEXT   SEGMENT
  30.  
  31.                 public __REALCVT
  32. __REALCVT       proc near
  33. IFDEF   __HUGE__
  34. ExtSym@         DGROUP@, WORD, __PASCAL__
  35.                 mov     es, cs:DGROUP@@
  36.                 jmp     ES:[__RealCvtVector]
  37. ELSE
  38.                 jmp     [__RealCvtVector]
  39. ENDIF
  40.                 endp
  41. _TEXT   ENDS
  42.         END
  43.