home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / tools / make / make_pd / intdos.h < prev    next >
C/C++ Source or Header  |  1987-02-01  |  412b  |  23 lines

  1. /* Structure definitions for DOS interrupt intdos() */
  2.  
  3. struct WORD_REGISTERS {
  4.     unsigned int ax, bx, cx, dx;
  5.     unsigned int si, di;
  6.     unsigned int carry;
  7.     };
  8.  
  9. /* byte registers */
  10.  
  11. struct BYTE_REGISTERS {
  12.     unsigned char al, ah, bl, bh, cl, ch, dl, dh;
  13.     };
  14.  
  15. union REGS {
  16.     struct WORD_REGISTERS x;
  17.     struct BYTE_REGISTERS h;
  18.     };
  19.  
  20. #ifdef LINT_ARGS
  21. int intdos(union REGS *, union REGS *);
  22. #endif
  23.