From 8176af1a46bfe2e15f8cdb170d74e52e1ba6efa2 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sat, 16 Sep 2023 19:50:44 -0700 Subject: Standardize on no hyphen in illegal instruction exception (#1131) --- src/supervisor.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/supervisor.adoc') 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 -- cgit v1.1