mscratch
Machine Scratch Register
Scratch register for software use. Bits are not interpreted by hardware.
Attributes
Defining Extension |
|
---|---|
CSR Address |
0x340 |
Length |
32 when CSR[misa].MXL == 0 64 when CSR[misa].MXL == 1 |
Privilege Mode |
M |
Format
This CSR format changes dynamically.
Figure 1. mscratch Format when CSR[misa].MXL == 0
Figure 2. mscratch Format when CSR[misa].MXL == 1