about summary refs log tree commit diff stats
path: root/subx/055stream.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-02-14 16:24:20 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-14 16:24:20 -0800
commit1639687ba098aa81b0584f7dd609cb9690dc5a04 (patch)
tree1a5ee40c30bf906c6ba5e55b8c5138a467022105 /subx/055stream.subx
parent1ab48a69ccfa4ddaa2e1fa803ea6fe568b890abc (diff)
downloadmu-1639687ba098aa81b0584f7dd609cb9690dc5a04.tar.gz
4961
Diffstat (limited to 'subx/055stream.subx')
-rw-r--r--subx/055stream.subx4
1 files changed, 3 insertions, 1 deletions
diff --git a/subx/055stream.subx b/subx/055stream.subx
index 0d196311..f5d24876 100644
--- a/subx/055stream.subx
+++ b/subx/055stream.subx
@@ -42,7 +42,7 @@ clear-stream:  # f : (address stream) -> <void>
     81          0/subop/add         3/mod/direct    0/rm32/EAX    .           .             .           .           .               0xc/imm32         # add to EAX
     # while (true)
 $clear-stream:loop:
-    # if EAX >= ECX break
+    # if (EAX >= ECX) break
     39/compare                      3/mod/direct    0/rm32/EAX    .           .             .           1/r32/ECX   .               .                 # compare EAX with ECX
     7d/jump-if-greater-or-equal  $clear-stream:end/disp8
     # *EAX = 0
@@ -76,3 +76,5 @@ $rewind-stream:end:
     89/copy                         3/mod/direct    4/rm32/ESP    .           .             .           5/r32/EBP   .               .                 # copy EBP to ESP
     5d/pop-to-EBP
     c3/return
+
+# . . vim:nowrap:textwidth=0