home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / reg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  917 b   |  43 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_REG_H
  11. #define _SYS_REG_H
  12.  
  13. #ident    "@(#)/usr/include/sys/reg.h.sl 1.1 4.0 12/08/90 15165 AT&T-USL"
  14.  
  15. /*
  16.  * Location of the users' stored registers relative to EAX.
  17.  * Usage is u.u_ar0[XX].
  18.  *
  19.  * NOTE: ERR is the error code.
  20.  */
  21.  
  22. #define SS    18
  23. #define UESP    17
  24. #define EFL    16
  25. #define CS    15
  26. #define EIP    14
  27. #define ERR    13
  28. #define TRAPNO    12
  29. #define EAX    11
  30. #define ECX    10
  31. #define EDX    9
  32. #define EBX    8
  33. #define ESP    7
  34. #define EBP    6
  35. #define ESI    5
  36. #define EDI    4
  37. #define DS    3
  38. #define ES    2
  39. #define FS    1
  40. #define GS    0
  41.  
  42. #endif    /* _SYS_REG_H */
  43.