xref: /csrg-svn/sys/vax/include/psl.h (revision 68)
1*68Sbill /*	psl.h	3.1	10/14/12	*/
2*68Sbill 
3*68Sbill /*
4*68Sbill  * VAX program status longword
5*68Sbill  */
6*68Sbill 
7*68Sbill #define	PSL_C		0x1		/* carry bit */
8*68Sbill #define	PSL_V		0x2		/* overflow bit */
9*68Sbill #define	PSL_Z		0x4		/* zero bit */
10*68Sbill #define	PSL_N		0x8		/* negative bit */
11*68Sbill #define	PSL_T		0x10		/* trace enable bit */
12*68Sbill #define	PSL_IV		0x20		/* integer overflow enable bit */
13*68Sbill #define	PSL_FU		0x40		/* floating point underflow enable */
14*68Sbill #define	PSL_DV		0x80		/* decimal overflow enable bit */
15*68Sbill #define	PSL_IPL		0x1f0000	/* interrupt priority level */
16*68Sbill #define	PSL_PRVMOD	0xc00000	/* previous mode */
17*68Sbill #define	PSL_CURMOD	0x3000000	/* current mode */
18*68Sbill #define	PSL_IS		0x4000000	/* interrupt stack */
19*68Sbill #define	PSL_FPD		0x8000000	/* first part done */
20*68Sbill #define	PSL_TP		0x40000000	/* trace pending */
21*68Sbill #define	PSL_CM		0x80000000	/* compatibility mode */
22