Rev | Line | |
---|
[9] | 1 | #ifndef _IBM_CPU_H
|
---|
| 2 | #define _IBM_CPU_H 1
|
---|
| 3 |
|
---|
| 4 | #define X86_FLAG_C (1L << 0) /* Carry */
|
---|
| 5 | #define X86_FLAG_P (1L << 2) /* Parity */
|
---|
| 6 | #define X86_FLAG_A (1L << 4) /* Aux. carry */
|
---|
| 7 | #define X86_FLAG_Z (1L << 6) /* Zero */
|
---|
| 8 | #define X86_FLAG_S (1L << 7) /* Sign */
|
---|
| 9 |
|
---|
| 10 | #define X86_FLAG_T (1L << 8) /* Trap */
|
---|
| 11 | #define X86_FLAG_I (1L << 9) /* Interrupt */
|
---|
| 12 | #define X86_FLAG_D (1L << 10) /* Direction */
|
---|
| 13 | #define X86_FLAG_O (1L << 11) /* Overflow */
|
---|
| 14 |
|
---|
| 15 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.