From 2104d1a75b76dbffc0b15a96c98d94e7a16594e8 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 27 Jan 2020 00:39:46 -0800 Subject: 5925 --- html/apps/ex11.subx.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html/apps/ex11.subx.html') diff --git a/html/apps/ex11.subx.html b/html/apps/ex11.subx.html index d9c64f2a..ca69cdaa 100644 --- a/html/apps/ex11.subx.html +++ b/html/apps/ex11.subx.html @@ -89,7 +89,7 @@ if ('onhashchange' in window) { 27 28 # compare a null-terminated ascii string with a more idiomatic length-prefixed byte array 29 # reason for the name: the only place we should have null-terminated ascii strings is from commandline args - 30 kernel-string-equal?: # s : null-terminated ascii string, benchmark : length-prefixed ascii string -> eax : boolean + 30 kernel-string-equal?: # s: null-terminated ascii string, benchmark: length-prefixed ascii string -> eax: boolean 31 # pseudocode: 32 # n = benchmark->length 33 # s1 = s @@ -320,7 +320,7 @@ if ('onhashchange' in window) { 258 # - helpers 259 260 # print msg to stderr if a != b, otherwise print "." -261 check-ints-equal: # (a : int, b : int, msg : (addr array byte)) -> boolean +261 check-ints-equal: # (a: int, b: int, msg: (addr array byte)) -> boolean 262 # . prologue 263 55/push-ebp 264 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -369,7 +369,7 @@ if ('onhashchange' in window) { 307 5d/pop-to-ebp 308 c3/return 309 -310 write-stderr: # s : (addr array byte) -> <void> +310 write-stderr: # s: (addr array byte) -> <void> 311 # . prologue 312 55/push-ebp 313 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp -- cgit 1.4.1-2-gfad0