Commit | Line | Data |
---|---|---|
fc7e4e57 | 1 | /* psl.h 4.3 81/02/23 */ |
21f9ed82 BJ |
2 | |
3 | /* | |
4 | * VAX program status longword | |
5 | */ | |
6 | ||
fc7e4e57 BJ |
7 | #define PSL_C 0x00000001 /* carry bit */ |
8 | #define PSL_V 0x00000002 /* overflow bit */ | |
9 | #define PSL_Z 0x00000004 /* zero bit */ | |
10 | #define PSL_N 0x00000008 /* negative bit */ | |
11 | #define PSL_ALLCC 0x0000000f /* all cc bits - unlikely */ | |
12 | #define PSL_T 0x00000010 /* trace enable bit */ | |
13 | #define PSL_IV 0x00000020 /* integer overflow enable bit */ | |
14 | #define PSL_FU 0x00000040 /* floating point underflow enable */ | |
15 | #define PSL_DV 0x00000080 /* decimal overflow enable bit */ | |
16 | #define PSL_IPL 0x001f0000 /* interrupt priority level */ | |
17 | #define PSL_PRVMOD 0x00c00000 /* previous mode (all on is user) */ | |
18 | #define PSL_CURMOD 0x03000000 /* current mode (all on is user) */ | |
19 | #define PSL_IS 0x04000000 /* interrupt stack */ | |
20 | #define PSL_FPD 0x08000000 /* first part done */ | |
21f9ed82 BJ |
21 | #define PSL_TP 0x40000000 /* trace pending */ |
22 | #define PSL_CM 0x80000000 /* compatibility mode */ | |
b2fd3201 | 23 | #define PSL_USERCLR 0x3c20ff00 /* bits must be clear in user mode */ |