The mstatus register is an MXLEN-bit read/write register formatted as shown in [mstatusreg-rv32>> for RV32 and <<mstatusreg](file:///C:/Users/jameball/Downloads/build/riscv-privileged.html#mstatusreg-rv32%3E%3E%20for%20RV32%20and%20%3C%3Cmstatusreg) for RV64.