about summary refs log tree commit diff stats
path: root/html/apps/ex11.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-27 00:39:46 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-27 00:39:46 -0800
commit2104d1a75b76dbffc0b15a96c98d94e7a16594e8 (patch)
tree2a839b86e76431a9bbe4bf155f7411171a26d7f8 /html/apps/ex11.subx.html
parent71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff)
downloadmu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz
5925
Diffstat (limited to 'html/apps/ex11.subx.html')
-rw-r--r--html/apps/ex11.subx.html6
1 files changed, 3 insertions, 3 deletions
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) {
 <span id="L27" class="LineNr"> 27 </span>
 <span id="L28" class="LineNr"> 28 </span><span class="subxComment"># compare a null-terminated ascii string with a more idiomatic length-prefixed byte array</span>
 <span id="L29" class="LineNr"> 29 </span><span class="subxComment"># reason for the name: the only place we should have null-terminated ascii strings is from commandline args</span>
-<span id="L30" class="LineNr"> 30 </span><span class="subxFunction">kernel-string-equal?</span>:  <span class="subxComment"># s : null-terminated ascii string, benchmark : length-prefixed ascii string -&gt; eax : boolean</span>
+<span id="L30" class="LineNr"> 30 </span><span class="subxFunction">kernel-string-equal?</span>:  <span class="subxComment"># s: null-terminated ascii string, benchmark: length-prefixed ascii string -&gt; eax: boolean</span>
 <span id="L31" class="LineNr"> 31 </span>    <span class="subxComment"># pseudocode:</span>
 <span id="L32" class="LineNr"> 32 </span>    <span class="subxComment">#   n = benchmark-&gt;length</span>
 <span id="L33" class="LineNr"> 33 </span>    <span class="subxComment">#   s1 = s</span>
@@ -320,7 +320,7 @@ if ('onhashchange' in window) {
 <span id="L258" class="LineNr">258 </span><span class="subxH1Comment"># - helpers</span>
 <span id="L259" class="LineNr">259 </span>
 <span id="L260" class="LineNr">260 </span><span class="subxComment"># print msg to stderr if a != b, otherwise print &quot;.&quot;</span>
-<span id="L261" class="LineNr">261 </span><span class="subxFunction">check-ints-equal</span>:  <span class="subxComment"># (a : int, b : int, msg : (addr array byte)) -&gt; boolean</span>
+<span id="L261" class="LineNr">261 </span><span class="subxFunction">check-ints-equal</span>:  <span class="subxComment"># (a: int, b: int, msg: (addr array byte)) -&gt; boolean</span>
 <span id="L262" class="LineNr">262 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L263" class="LineNr">263 </span>    55/push-ebp
 <span id="L264" class="LineNr">264 </span>    89/copy                         3/mod/direct    5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          4/r32/esp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy esp to ebp</span>
@@ -369,7 +369,7 @@ if ('onhashchange' in window) {
 <span id="L307" class="LineNr">307 </span>    5d/pop-to-ebp
 <span id="L308" class="LineNr">308 </span>    c3/return
 <span id="L309" class="LineNr">309 </span>
-<span id="L310" class="LineNr">310 </span><span class="subxFunction">write-stderr</span>:  <span class="subxComment"># s : (addr array byte) -&gt; &lt;void&gt;</span>
+<span id="L310" class="LineNr">310 </span><span class="subxFunction">write-stderr</span>:  <span class="subxComment"># s: (addr array byte) -&gt; &lt;void&gt;</span>
 <span id="L311" class="LineNr">311 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L312" class="LineNr">312 </span>    55/push-ebp
 <span id="L313" class="LineNr">313 </span>    89/copy                         3/mod/direct    5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          4/r32/esp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy esp to ebp</span>