home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / psl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  898 b   |  29 lines

  1.  
  2. /*
  3.  *    @(#) psl.h 2.2 88/05/18 
  4.  *
  5.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
  6.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
  7.  *    This Module contains Proprietary Information of
  8.  *    The Santa Cruz Operation, Microsoft Corporation
  9.  *    and AT&T, and should be treated as Confidential.
  10.  */
  11.  
  12. /*
  13.  *      processor status
  14.  */
  15.  
  16. #define    PS_C    0x00001    /* carry flag */
  17. #define PS_P    0x00004    /* parity flag */
  18. #define PS_A    0x00010    /* aux carry flag */
  19. #define    PS_Z    0x00040    /* zero flag */
  20. #define PS_S    0x00080    /* sign flag */
  21. #define    PS_T    0x00100    /* trace enable bit */
  22. #define PS_I    0x00200    /* interrupt enable bit */
  23. #define PS_D    0x00400    /* direction flag */
  24. #define    PS_V    0x00800    /* overflow flag */
  25. #define PS_IOPL    0x03000    /* io priv level */
  26. #define PS_NT    0x04000    /* nested task flag */
  27. #define PS_RF    0x10000    /* resume flag */
  28. #define PS_VM    0x20000    /* virtual 8086 mode */
  29.