home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13603 < prev    next >
Encoding:
Text File  |  1992-09-12  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!asuvax!ennews!envmsa.eas.asu.edu!ptran
  3. From: ptran@envmsa.eas.asu.edu (Phi-Long Tran)
  4. Subject: Re: REGS structure
  5. Message-ID: <12SEP199221190855@envmsa.eas.asu.edu>
  6. News-Software: VAX/VMS VNEWS 1.4-b1  
  7. Sender: news@ennews.eas.asu.edu (USENET News System)
  8. Reply-To: ptran@asuvax.eas.asu.edu
  9. Organization: Arizona State University, Tempe, AZ
  10. References: <1992Sep11.115633.3749@darwin.ntu.edu.au>
  11. Date: Sun, 13 Sep 1992 04:19:00 GMT
  12. Lines: 19
  13.  
  14. In article <1992Sep11.115633.3749@darwin.ntu.edu.au>, 
  15. cjw@dme.nt.gov.au writes...
  16.  
  17. > I have repeatedly come across declarations of the type 'struct REGS' (i
  18. > think that was what was called, have seen a few variations) and was
  19. > wondering if someone could tell me it's contents, and what it is used
  20. > for.  I only have a very basic shareware compiler (for my PC anyway, and
  21. > I have never seen it under Unix) and it has no mention of this structure.
  22.  
  23.      The structure contains fields corresponding to the registers of the PC
  24. processor (e.g., ax, dx).  You will probably find the declaration is a
  25. compiler-distributed header file such as "dos.h" or "msdos.h".
  26. Alternatively, you can search to the structure delcaration in the include
  27. directory for the compiler.
  28.  
  29. ---
  30. Phi-Long Tran
  31. ptran@asuvax.eas.asu.edu
  32. Arizona State University
  33.