1*2641Swnj /* psl.h 4.3 81/02/23 */ 268Sbill 368Sbill /* 468Sbill * VAX program status longword 568Sbill */ 668Sbill 7*2641Swnj #define PSL_C 0x00000001 /* carry bit */ 8*2641Swnj #define PSL_V 0x00000002 /* overflow bit */ 9*2641Swnj #define PSL_Z 0x00000004 /* zero bit */ 10*2641Swnj #define PSL_N 0x00000008 /* negative bit */ 11*2641Swnj #define PSL_ALLCC 0x0000000f /* all cc bits - unlikely */ 12*2641Swnj #define PSL_T 0x00000010 /* trace enable bit */ 13*2641Swnj #define PSL_IV 0x00000020 /* integer overflow enable bit */ 14*2641Swnj #define PSL_FU 0x00000040 /* floating point underflow enable */ 15*2641Swnj #define PSL_DV 0x00000080 /* decimal overflow enable bit */ 16*2641Swnj #define PSL_IPL 0x001f0000 /* interrupt priority level */ 17*2641Swnj #define PSL_PRVMOD 0x00c00000 /* previous mode (all on is user) */ 18*2641Swnj #define PSL_CURMOD 0x03000000 /* current mode (all on is user) */ 19*2641Swnj #define PSL_IS 0x04000000 /* interrupt stack */ 20*2641Swnj #define PSL_FPD 0x08000000 /* first part done */ 2168Sbill #define PSL_TP 0x40000000 /* trace pending */ 2268Sbill #define PSL_CM 0x80000000 /* compatibility mode */ 23180Sbill #define PSL_USERCLR 0x3c20ff00 /* bits must be clear in user mode */ 24