Commit | Line | Data |
---|---|---|
9359ea95 TL |
1 | /* |
2 | VAX program status longword | |
3 | */ | |
4 | ||
5 | #define PSL_C 0x1 /* carry bit */ | |
6 | #define PSL_V 0x2 /* overflow bit */ | |
7 | #define PSL_Z 0x4 /* zero bit */ | |
8 | #define PSL_N 0x8 /* negative bit */ | |
9 | #define PSL_T 0x10 /* trace enable bit */ | |
10 | #define PSL_IV 0x20 /* integer overflow enable bit */ | |
11 | #define PSL_FU 0x40 /* floating point underflow enable bit */ | |
12 | #define PSL_DV 0x80 /* decimal overflow enable bit */ | |
13 | #define PSL_IPL 0x1f0000 /* interrupt priority level */ | |
14 | #define PSL_PRVMOD 0xc00000 /* previous mode */ | |
15 | #define PSL_CURMOD 0x3000000 /* current mode */ | |
16 | #define PSL_IS 0x4000000 /* interrupt stack */ | |
17 | #define PSL_FPD 0x8000000 /* first part done */ | |
18 | #define PSL_TP 0x40000000 /* trace pending */ | |
19 | #define PSL_CM 0x80000000 /* compatibility mode */ | |
20 |