about summary refs log tree commit diff stats
path: root/105string-equal.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-07-10 21:08:26 -0700
committerKartik Agaram <vc@akkartik.com>2020-07-10 21:08:26 -0700
commit34dd228eb2706674f3ce06297997ce11f42768c8 (patch)
tree8578333485d415c465cb8b7ea6f98586491dbc2c /105string-equal.subx
parentc532373e29928f1b8a2085038b000c3213ce4523 (diff)
downloadmu-34dd228eb2706674f3ce06297997ce11f42768c8.tar.gz
6627
Diffstat (limited to '105string-equal.subx')
-rw-r--r--105string-equal.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/105string-equal.subx b/105string-equal.subx
index d193bb2d..783a7dd9 100644
--- a/105string-equal.subx
+++ b/105string-equal.subx
@@ -12,7 +12,7 @@ Entry:  # run all tests
     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/ebx   Num-test-failures/disp32          # copy *Num-test-failures to ebx
     e8/call  syscall_exit/disp32
 
-string-equal?:  # s: (addr array byte), benchmark: (addr array byte) -> eax: boolean
+string-equal?:  # s: (addr array byte), benchmark: (addr array byte) -> result/eax: boolean
     # pseudocode:
     #   if (s->size != benchmark->size) return false
     #   return string-starts-with?(s, benchmark)
@@ -54,7 +54,7 @@ $string-equal?:end:
     5d/pop-to-ebp
     c3/return
 
-string-starts-with?:  # s: (addr array byte), benchmark: (addr array byte) -> eax: boolean
+string-starts-with?:  # s: (addr array byte), benchmark: (addr array byte) -> result/eax: boolean
     # pseudocode:
     #   if (s->size < benchmark->size) return false
     #   currs = s->data