diff options
Diffstat (limited to 'src/supervisor.adoc')
-rw-r--r-- | src/supervisor.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supervisor.adoc b/src/supervisor.adoc index f3771ef..8e66a26 100644 --- a/src/supervisor.adoc +++ b/src/supervisor.adoc @@ -538,14 +538,14 @@ address of the portion of the instruction that caused the fault, while The `stval` register can optionally also be used to return the faulting instruction bits on an illegal instruction exception (`sepc` points to the faulting instruction in memory). If `stval` is written with a -nonzero value when an illegal-instruction exception occurs, then `stval` +nonzero value when an illegal instruction exception occurs, then `stval` will contain the shortest of: * the actual faulting instruction * the first ILEN bits of the faulting instruction * the first SXLEN bits of the faulting instruction -The value loaded into `stval` on an illegal-instruction exception is +The value loaded into `stval` on an illegal instruction exception is right-justified and all unused upper bits are cleared to zero. For other traps, `stval` is set to zero, but a future standard may |