C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_REGS, _WORDREGS, _BYTEREGS Structures
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:  <dos.h> or <bios.h>
 
  Context:  _int86, _intdos
 
  Union:
 
  union _REGS            // Union of either byte or word registers
  {
      struct _WORDREGS x;
      struct _BYTEREGS h;
  };
 
  Structure:
 
  struct _WORDREGS       // Word registers and carry flag of 8088
  {
      unsigned int ax;
      unsigned int bx;
      unsigned int cx;
      unsigned int dx;
      unsigned int si;
      unsigned int di;
      unsigned int cflag;
  };
 
  struct _BYTEREGS       // Byte registers of 8088
  {
      unsigned char al, ah;
      unsigned char bl, bh;
      unsigned char cl, ch;
      unsigned char dl, dh;
  };
                                    -♦-