We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e03de0a commit f93dc2aCopy full SHA for f93dc2a
www/notes/hoax.scrbl
@@ -307,7 +307,7 @@ So, suppose we want to create the string @racket["abc"]:
307
(Mov 'eax (char->integer #\b))
308
(Mov (Offset 'rbx 12) 'eax) ; write #\b in string slot 1
309
(Mov 'eax (char->integer #\c))
310
- (Mov (Offset 'ebx 16) 'rax) ; write #\c in string slot 2
+ (Mov (Offset 'rbx 16) 'eax) ; write #\c in string slot 2
311
(Mov 'rax 'rbx)
312
(Or 'rax type-str) ; tag pointer as a string
313
(Add 'rbx 24)) ; advance rbx three words(!)
0 commit comments