about summary refs log tree commit diff stats
path: root/apps/braces.subx
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 /apps/braces.subx
parent6a51218e12ce75e51301b834e1c48e86aefedc1e (diff)
downloadmu-7a5832204a80ff43d23c3a384c26e2217ef5908b.tar.gz
5698
Thanks Andrew Owen for reporting this typo.
Diffstat (limited to 'apps/braces.subx')
-rw-r--r--apps/braces.subx18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/braces.subx b/apps/braces.subx
index 32042539..87907b95 100644
--- a/apps/braces.subx
+++ b/apps/braces.subx
@@ -51,7 +51,7 @@
 == code
 
 Entry:  # run tests if necessary, a REPL if not
-    # . prolog
+    # . prologue
     89/<- %ebp 4/r32/esp
     # initialize heap
     (new-segment Heap-size Heap)
@@ -111,7 +111,7 @@ subx-braces:  # in : (address buffered-file), out : (address buffered-file) -> <
     #       print(out, word-slice " ")
     #     print(out, "\n")
     #   flush(out)
-    # . prolog
+    # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # . save registers
@@ -251,13 +251,13 @@ $subx-braces:end:
     5a/pop-to-edx
     59/pop-to-ecx
     58/pop-to-eax
-    # . epilog
+    # . epilogue
     89/<- %esp 5/r32/ebp
     5d/pop-to-ebp
     c3/return
 
 test-subx-braces-passes-most-words-through:
-    # . prolog
+    # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
@@ -282,7 +282,7 @@ test-subx-braces-passes-most-words-through:
 #?     (write 2 "$\n")
 #?     # }}}
     (check-stream-equal _test-output-stream "== abcd 0x1 \n" "F - test-subx-braces-passes-most-words-through")
-    # . epilog
+    # . epilogue
     89/<- %esp 5/r32/ebp
     5d/pop-to-ebp
     c3/return
@@ -300,7 +300,7 @@ test-subx-braces-1:
     #   cd _loop1/imm32
     #   _break1:
     #
-    # . prolog
+    # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
@@ -325,7 +325,7 @@ test-subx-braces-1:
 #?     (write 2 "$\n")
 #?     # }}}
     (check-stream-equal _test-output-stream "_loop0x00000001:\nab _break0x00000001/imm32 \ncd _loop0x00000001/imm32 \n_break0x00000001:\n" "F - test-subx-braces-1")
-    # . epilog
+    # . epilogue
     89/<- %esp 5/r32/ebp
     5d/pop-to-ebp
     c3/return
@@ -347,7 +347,7 @@ test-subx-braces-2:
     #   cd _loop1/imm32
     #   _break1:
     #
-    # . prolog
+    # . prologue
     55/push-ebp
     89/<- %ebp 4/r32/esp
     # setup
@@ -372,7 +372,7 @@ test-subx-braces-2:
 #?     (write 2 "$\n")
 #?     # }}}
     (check-stream-equal _test-output-stream "_loop0x00000001:\n_loop0x00000002:\nab _break0x00000002/imm32 \n_break0x00000002:\ncd _loop0x00000001/imm32 \n_break0x00000001:\n" "F - test-subx-braces-2")
-    # . epilog
+    # . epilogue
     89/<- %esp 5/r32/ebp
     5d/pop-to-ebp
     c3/return