about summary refs log tree commit diff stats
path: root/076next-word.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 /076next-word.subx
parent6a51218e12ce75e51301b834e1c48e86aefedc1e (diff)
downloadmu-7a5832204a80ff43d23c3a384c26e2217ef5908b.tar.gz
5698
Thanks Andrew Owen for reporting this typo.
Diffstat (limited to '076next-word.subx')
-rw-r--r--076next-word.subx16
1 files changed, 8 insertions, 8 deletions
diff --git a/076next-word.subx b/076next-word.subx
index efd99a64..054dfb47 100644
--- a/076next-word.subx
+++ b/076next-word.subx
@@ -8,7 +8,7 @@
 # (re)compute the bounds of the next word in the line
 # return empty string on reaching end of file
 next-word:  # line : (address stream byte), out : (address slice)
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # . save registers
@@ -78,13 +78,13 @@ $next-word:end:
     5e/pop-to-esi
     59/pop-to-ecx
     58/pop-to-eax
-    # . epilog
+    # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
     c3/return
 
 test-next-word:
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # setup
@@ -141,13 +141,13 @@ test-next-word:
     e8/call  check-ints-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
-    # . epilog
+    # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
     c3/return
 
 test-next-word-returns-whole-comment:
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # setup
@@ -204,13 +204,13 @@ test-next-word-returns-whole-comment:
     e8/call  check-ints-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
-    # . epilog
+    # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
     c3/return
 
 test-next-word-returns-empty-string-on-eof:
-    # . prolog
+    # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
     # setup
@@ -246,7 +246,7 @@ test-next-word-returns-empty-string-on-eof:
     e8/call  check-ints-equal/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp
-    # . epilog
+    # . epilogue
     89/copy                         3/mod/direct    4/rm32/esp    .           .             .           5/r32/ebp   .               .                 # copy ebp to esp
     5d/pop-to-ebp
     c3/return