From 60cf501f3b2a1f79290afaf3fe84846fb99e7109 Mon Sep 17 00:00:00 2001 From: EdmanCoding <164445630+EdmanCoding@users.noreply.github.com> Date: Tue, 13 May 2025 08:42:23 +0900 Subject: [PATCH] Update chapter-05 exercise 30 Looks like a typo. You are right, both R1 and R0 are originally x0000, the same is R2 before execution of branching. But in the exercise asked about the conditions of R1 and R0, not R2. --- 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..2dba99c 100644 --- a/solutions/chapter-05.md +++ b/solutions/chapter-05.md @@ -124,7 +124,7 @@ 1. LDR R0 R1 #0 2. MAR <- SR + OFFSET. MDR <- Memory[MAR]. DR <- MDR. --- -30. Both R1 and R2 is 0. +30. Both R1 and R0 is 0. --- 31. 0001 101 100 000 110 ---