mtinst
Machine Trap Instruction Register
When a trap is taken into M-mode, mtinst is written with a value that, if nonzero, provides information about the instruction that trapped, to assist software in handling the trap. The values that may be written to mtinst on a trap are documented in TODO.
mtinst is a WARL register that need only be able to hold the values that the implementation may automatically write to it on a trap.
Attributes
Defining Extension |
|
||||
---|---|---|---|---|---|
CSR Address |
0x34a |
||||
Length |
|
||||
Privilege Mode |
M |