From 36cd394c94d4344f551e7a66806700c99891374d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 22 Jul 2025 11:34:22 -0400 Subject: docs: Define SR_STATE.CARRY bit Signed-off-by: Ian Moffett --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index af9ba65..e6b1963 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3