From 96e3a612e29f632f89eac9519fd56ed96c2f0243 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 27 Jul 2024 16:38:51 -0400 Subject: Exclude writes to x0 register Signed-off-by: Ian Moffett --- README.md | 4 ++-- 1 file 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 | | ---------------------------- | --------------------- | -- cgit v1.2.3