diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-27 16:38:51 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-27 16:38:51 -0400 |
commit | 96e3a612e29f632f89eac9519fd56ed96c2f0243 (patch) | |
tree | d05426082cf618588442516e1110132a138791e2 | |
parent | 955bf177c744d4125e40b87fd2c85ee19535cdaa (diff) |
Exclude writes to x0 register
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | | ---------------------------- | --------------------- | |