mnscratch
Machine Scratch Register
Scratch register for software use in NMI / double trap. Bits are not interpreted by hardware.
Attributes
Requirement |
|||
|---|---|---|---|
Defining extensions |
|
||
CSR Address |
0x740 |
||
Length |
* 32 when CSR[misa].MXL == 0 * 64 when CSR[misa].MXL == 1 |
||
Privilege Mode |
M |
Format
This CSR format changes dynamically.
Figure 1. mnscratch Format when CSR[misa].MXL == 0
Figure 2. mnscratch Format when CSR[misa].MXL == 1