diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-22 11:34:22 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-22 11:34:22 -0400 |
commit | 36cd394c94d4344f551e7a66806700c99891374d (patch) | |
tree | 311525352327b943dcce4be37cb02a6980cd0f31 /README.md | |
parent | 847135de90abf538866eb30add00dbe6ef037c0c (diff) |
docs: Define SR_STATE.CARRY bit
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -46,7 +46,8 @@ cannot be accessed via the "mov" instruction and instead rely on independent wrs |------|---------------------- | ---------------------- | | 0 | Reserved | Must be zero | | 1 | Supervisor | Supervisor mode enable | -| 2-31 | Reserved (must be 0) | Must be zero | +| 2 | Carry | Arithmetic carry flag | +| 3-31 | Reserved (must be 0) | Must be zero | #### Supervisor bit @@ -56,6 +57,10 @@ 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. +#### Carry bit +Indicates whether an arithmetic operation has resulted in a +carry/borrow. + ## Instructions |