summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-10-08 13:43:37 -0400
committerpommicket <pommicket@gmail.com>2022-10-08 13:43:37 -0400
commit9e7cc651d3fef91e95bc045e28d8c55d8ae33090 (patch)
tree8fc52365f836d1d2226b7b9a590b78715ac1335f
parenta08fef645e4b2504d7c2109946c90e63ca91b731 (diff)
fixed typos
-rw-r--r--03/ex034
-rw-r--r--04/README.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/03/ex03 b/03/ex03
index 0270bb9..000a475 100644
--- a/03/ex03
+++ b/03/ex03
@@ -52,8 +52,8 @@ call :function
; return
return
; label declarations
-;:function
-;:label
+:function
+:label
; literal byte
x4b
'H
diff --git a/04/README.md b/04/README.md
index 3e3c292..3ab9b40 100644
--- a/04/README.md
+++ b/04/README.md
@@ -51,7 +51,7 @@ These variables will be placed on the
stack. Since arguments are also placed on the stack,
by implementing local variables we get arguments for free. There is no difference
between the `local` and `argument` keywords in this language other than spelling.
-In fact, the number of agruments to a function call is not checked against
+In fact, the number of arguments to a function call is not checked against
how many arguments the function has. This does make it easy to screw things up by calling a function
with the wrong number of arguments, but it also means that we can provide a variable number of arguments
to the `syscall` function. Speaking of which, if you look at the bottom of `in04`, you'll see: