summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-27 16:38:51 -0400
committerIan Moffett <ian@osmora.org>2024-07-27 16:38:51 -0400
commit96e3a612e29f632f89eac9519fd56ed96c2f0243 (patch)
treed05426082cf618588442516e1110132a138791e2
parent955bf177c744d4125e40b87fd2c85ee19535cdaa (diff)
Exclude writes to x0 register
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0590f23..cbc79da 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ Only accessed by the CPU for certain instructions. Cannot be directly read/writt
### Bitwise Instructions
-Bitwise logic operations can write to all registers except `v0`-`v7` and `pc`. Can read from all registers except `v0`-`v7`.
+Bitwise logic operations can write to all registers except `v0`-`v7`, `x0` and `pc`. Can read from all registers except `v0`-`v7`.
| Mnemonic | Effect |
| ---------------------------- | ---------------------- |
@@ -49,7 +49,7 @@ and x1, 1
### Arithmetic Instructions
-Arithmetic operations can write to all registers except `v0`-`v7` and `pc`. Can read from all registers except `v0`-`v7`.
+Arithmetic operations can write to all registers except `v0`-`v7`, `x0` and `pc`. Can read from all registers except `v0`-`v7`.
| Mnemonic | Effect |
| ---------------------------- | --------------------- |