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

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