home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / c / cl5sr386.zip / GO32 / NPX.H < prev    next >
C/C++ Source or Header  |  1992-04-13  |  970b  |  41 lines

  1. /* This is file NPX.H */
  2. /*
  3. ** Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  4. **
  5. ** This file is distributed under the terms listed in the document
  6. ** "copying.dj", available from DJ Delorie at the address above.
  7. ** A copy of "copying.dj" should accompany this file; if not, a copy
  8. ** should be available from where this file was obtained.  This file
  9. ** may not be distributed without a verbatim copy of "copying.dj".
  10. **
  11. ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
  12. ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. */
  14.  
  15. #ifndef _NPX_H_
  16. #define _NPX_H_
  17.  
  18. typedef struct {
  19.   word16 sig0;
  20.   word16 sig1;
  21.   word16 sig2;
  22.   word16 sig3;
  23.   word16 exponent:15;
  24.   word16 sign:1;
  25. } NPXREG;
  26.  
  27. typedef struct {
  28.   word32 control;
  29.   word32 status;
  30.   word32 tag;
  31.   word32 eip;
  32.   word32 cs;
  33.   word32 dataptr;
  34.   word32 datasel;
  35.   NPXREG reg[8];
  36. } NPX;
  37.  
  38. extern NPX npx;
  39.  
  40. #endif
  41.