Skip to content

Commit 4e38ac2

Browse files
authored
Update chapter-05 exercise 28
I guess my solution much more descriptive. And i think it's a little bit confusing for readers like me that studying chapter 5 and don't know about assembly yet to see the answers only in assembly without machine code (which fifth chapter dedicated to). Moreover, looks like there is mistake here: 1. LD R1 #2 2. STR R0 R1 #0 The number of instruction changed to +1, so the xF3FF value that you want to load in R1 is now not in the x3004 like in the original code, but in the x3005 instead. Check my version to see what I'm talking about.
1 parent 7a49749 commit 4e38ac2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

solutions/chapter-05.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@
117117
27. Solution: x3102, x0000, x0005
118118
---
119119
28. Solution:
120-
1. LD R1 #2
121-
2. STR R0 R1 #0
120+
122121
---
123122
29. Solution:
124123
1. LDR R0 R1 #0

0 commit comments

Comments
 (0)