mstatush
Machine Status High
The mstatus register tracks and controls the hart’s current operating state.
Attributes
Defining Extension | * Sm, version >= 1.12 |
---|---|
CSR Address |
0x310 |
Length |
32-bit |
Privilege Mode |
M |
Field Summary
Name | Location | Type | Reset Value |
---|---|---|---|
7 |
RW-H |
UNDEFINED_LEGAL |
|
6 |
RW-H |
0 |
|
5 |
[when,"M_MODE_ENDIANESS == "dynamic""] RW [when,"M_MODE_ENDIANESS != "dynamic""] RO |
[when,"M_MODE_ENDIANESS == "big""] 1 [when,"M_MODE_ENDIANESS != "big""] 0 |
|
4 |
[when,"S_MODE_ENDIANESS == "dynamic""] RW [when,"S_MODE_ENDIANESS != "dynamic""] RO |
[when,"(S_MODE_ENDIANESS == "little")"] 0 [when,"(S_MODE_ENDIANESS == "big")"] 1 [when,"else"] UNDEFINED_LEGAL |