summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-22 11:31:34 -0400
committerIan Moffett <ian@osmora.org>2025-07-22 11:31:34 -0400
commit847135de90abf538866eb30add00dbe6ef037c0c (patch)
treecb5d5c1aa31fbcb4a69dfdffdfabd271d7de3650
parent25b1a8854d0405a6f472297cb359c25e99432339 (diff)
docs: Add information on SR_STATE.SUPERVISOR
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 83bb7b9..af9ba65 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,12 @@ cannot be accessed via the "mov" instruction and instead rely on independent wrs
| 2-31 | Reserved (must be 0) | Must be zero |
+#### Supervisor bit
+The supervisor bit may only be writable in a privileged mode of execution
+and is therefore readonly in user contexts (writes ignored). It may be unset
+by system software to transition the processor into a user context. This bit
+may only transition from a 0 to a 1 during an interrupt/trap, therefore manually
+writing a 1 to this bit is ignored by the processor.
## Instructions