about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-15 19:35:19 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-15 19:35:19 -0700
commit7a5832204a80ff43d23c3a384c26e2217ef5908b (patch)
tree5d3dce95369bf30b84735afd6e21bf1a43db16b7 /examples
parent6a51218e12ce75e51301b834e1c48e86aefedc1e (diff)
downloadmu-7a5832204a80ff43d23c3a384c26e2217ef5908b.tar.gz
5698
Thanks Andrew Owen for reporting this typo.
Diffstat (limited to 'examples')
-rw-r--r--examples/ex10.subx2
-rw-r--r--examples/ex11.subx8
-rw-r--r--examples/ex8.subx2
-rw-r--r--examples/ex9.subx2
4 files changed, 7 insertions, 7 deletions
diff --git a/examples/ex10.subx b/examples/ex10.subx
index 468b3e5a..c091fe52 100644
--- a/examples/ex10.subx
+++ b/examples/ex10.subx
@@ -18,7 +18,7 @@ Entry:  # return argv-equal(argv[1], argv[2])
 #         argv[0]: *(esp+4)
 #         argv[1]: *(esp+8)
 #         ...
-    # . prolog
+    # . prologue
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # argv-equal(argv[1], argv[2])
     # . . push argv[2]
diff --git a/examples/ex11.subx b/examples/ex11.subx
index 1590b010..b235927d 100644
--- a/examples/ex11.subx
+++ b/examples/ex11.subx
@@ -49,7 +49,7 @@ kernel-string-equal?:  # s : null-terminated ascii string, benchmark : length-pr
     #   c1: eax
     #   c2: ebx
     #
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # . save registers
@@ -108,7 +108,7 @@ $kernel-string-equal?:end:
     5b/pop-to-ebx
     5a/pop-to-edx
     59/pop-to-ecx
-    # . epilog
+    # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
     c3/return
@@ -259,7 +259,7 @@ test-compare-kernel-string-with-longer-array:
 
 # print msg to stderr if a != b, otherwise print "."
 check-ints-equal:  # (a : int, b : int, msg : (address array byte)) -> boolean
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # . save registers
@@ -308,7 +308,7 @@ $check-ints-equal:end:
     c3/return
 
 write-stderr:  # s : (address array byte) -> <void>
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # . save registers
diff --git a/examples/ex8.subx b/examples/ex8.subx
index 0cda5908..0e44a883 100644
--- a/examples/ex8.subx
+++ b/examples/ex8.subx
@@ -20,7 +20,7 @@
 # . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
 
 Entry:
-    # . prolog
+    # . prologue
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # eax = ascii-length(argv[1])
     # . . push args
diff --git a/examples/ex9.subx b/examples/ex9.subx
index 3ba0acc0..443e443e 100644
--- a/examples/ex9.subx
+++ b/examples/ex9.subx
@@ -23,7 +23,7 @@
 # . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
 
 Entry:
-    # . prolog
+    # . prologue
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # ascii-difference(argv[1], argv[2])
     # . . push argv[2]