home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 2.ddi / MATHSRC.ZIP / EMUVARS.ASM < prev    next >
Encoding:
Assembly Source File  |  1992-06-10  |  1.2 KB  |  48 lines

  1. ;[]------------------------------------------------------------[]
  2. ;|      EMUVARS.ASM -- Emulator initialization                  |
  3. ;[]------------------------------------------------------------[]
  4.  
  5. ;
  6. ;       C/C++ Run Time Library - Version 5.0
  7. ;       Copyright (c) 1990, 1992 by Borland International
  8. ;       All Rights Reserved.
  9.  
  10.         NAME    EmuVars
  11.  
  12. ;[]------------------------------------------------------------[]
  13. ;|                                                              |
  14. ;|      Emulator variables in the stack segment                 |
  15. ;|                                                              |
  16. ;[]------------------------------------------------------------[]
  17.  
  18. ; define the FPU variables
  19. ; in large model, put them at SS:0
  20. ; in small model, this is impossible because the stack is in the DGROUP
  21.  
  22. include equates.asi
  23. include emuvars.asi
  24.  
  25. public  __emu
  26.  
  27. if      LDATA
  28.  
  29. ;_STACK SEGMENT COMMON STACK 'STACK'
  30. _STACK  SEGMENT COMMON 'STACK'
  31.         org     0
  32. __emu   fpu     <>
  33.         db      MinFpStack      DUP (?)
  34. _STACK  ENDS
  35.  
  36. else
  37.  
  38. _DATA   SEGMENT PARA PUBLIC 'DATA'
  39. __emu   fpu     <>
  40.         db      MinFpStack      DUP (?)
  41. _DATA   ENDS
  42.  
  43. endif
  44.  
  45. end
  46.