# HG changeset patch # User Paul Boddie # Date 1462397703 -7200 # Node ID bc3ddcefdc42c0315b97afc3c6600a9bd5d848d1 # Parent eda8506725e5a6b20792eccd2fdd26c7400a8703 Added and tidied status register definitions. diff -r eda8506725e5 -r bc3ddcefdc42 include/mips.h --- a/include/mips.h Wed May 04 23:04:58 2016 +0200 +++ b/include/mips.h Wed May 04 23:35:03 2016 +0200 @@ -17,10 +17,11 @@ #define CP0_TAGHI $29 #define STATUS_BEV 0x00400000 -#define STATUS_IRQ 0xfc00 -#define STATUS_ERL 4 -#define STATUS_EXL 2 -#define STATUS_IE 1 +#define STATUS_IRQ 0x0000fc00 +#define STATUS_UM 0x00000010 +#define STATUS_ERL 0x00000004 +#define STATUS_EXL 0x00000002 +#define STATUS_IE 0x00000001 #define CAUSE_IV 0x00800000