home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / reg.h < prev    next >
Encoding:
Text File  |  1988-06-26  |  689 b   |  37 lines

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