From 4a2f92f25e8837431b2dfe4f2979dac5eba4119f Mon Sep 17 00:00:00 2001 From: EdmanCoding <164445630+EdmanCoding@users.noreply.github.com> Date: Wed, 14 May 2025 08:04:02 +0900 Subject: [PATCH] Update chapter-05 exercise 31 R5+R6 (x5555+x6666) isn't equal to xFFF8, it's equal xBBBB. To get xFFF8 just add imm value 11000 to R0. [3:0] will be 8 and bit [4] makes all others FFF due to sign extension. --- solutions/chapter-05.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/chapter-05.md b/solutions/chapter-05.md index fe8823a..cb20929 100644 --- a/solutions/chapter-05.md +++ b/solutions/chapter-05.md @@ -126,7 +126,7 @@ --- 30. Both R1 and R2 is 0. --- -31. 0001 101 100 000 110 +31. 0001 101 000 1 11000 --- 32. Solution: 1. BRp #2