about summary refs log tree commit diff stats
path: root/html/052kernel-string-equal.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/052kernel-string-equal.subx.html
parent71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff)
downloadmu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz
5925
Diffstat (limited to 'html/052kernel-string-equal.subx.html')
-rw-r--r--html/052kernel-string-equal.subx.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/html/052kernel-string-equal.subx.html b/html/052kernel-string-equal.subx.html
index ff234b34..3a09cf75 100644
--- a/html/052kernel-string-equal.subx.html
+++ b/html/052kernel-string-equal.subx.html
@@ -92,7 +92,7 @@ if ('onhashchange' in window) {
 <span id="L30" class="LineNr"> 30 </span>
 <span id="L31" class="LineNr"> 31 </span><span class="subxComment"># compare a null-terminated ascii string with a more idiomatic length-prefixed byte array</span>
 <span id="L32" class="LineNr"> 32 </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="L33" class="LineNr"> 33 </span><span class="subxFunction">kernel-string-equal?</span>:  <span class="subxComment"># s : (addr kernel-string), benchmark : (addr array byte) -&gt; eax : boolean</span>
+<span id="L33" class="LineNr"> 33 </span><span class="subxFunction">kernel-string-equal?</span>:  <span class="subxComment"># s: (addr kernel-string), benchmark: (addr array byte) -&gt; eax: boolean</span>
 <span id="L34" class="LineNr"> 34 </span>    <span class="subxComment"># pseudocode:</span>
 <span id="L35" class="LineNr"> 35 </span>    <span class="subxComment">#   n = benchmark-&gt;length</span>
 <span id="L36" class="LineNr"> 36 </span>    <span class="subxComment">#   s1 = s</span>
@@ -123,19 +123,19 @@ if ('onhashchange' in window) {
 <span id="L61" class="LineNr"> 61 </span>    53/push-ebx
 <span id="L62" class="LineNr"> 62 </span>    56/push-esi
 <span id="L63" class="LineNr"> 63 </span>    57/push-edi
-<span id="L64" class="LineNr"> 64 </span>    <span class="subxComment"># var s1/edi : (addr byte) = s</span>
+<span id="L64" class="LineNr"> 64 </span>    <span class="subxComment"># var s1/edi: (addr byte) = s</span>
 <span id="L65" class="LineNr"> 65 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          7/r32/edi   8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+8) to edi</span>
-<span id="L66" class="LineNr"> 66 </span>    <span class="subxComment"># var n/edx : int = benchmark-&gt;length</span>
+<span id="L66" class="LineNr"> 66 </span>    <span class="subxComment"># var n/edx: int = benchmark-&gt;length</span>
 <span id="L67" class="LineNr"> 67 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to edx</span>
 <span id="L68" class="LineNr"> 68 </span>    8b/copy                         0/mod/indirect  2/rm32/edx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy *edx to edx</span>
-<span id="L69" class="LineNr"> 69 </span>    <span class="subxComment"># var s2/esi : (addr byte) = benchmark-&gt;data</span>
+<span id="L69" class="LineNr"> 69 </span>    <span class="subxComment"># var s2/esi: (addr byte) = benchmark-&gt;data</span>
 <span id="L70" class="LineNr"> 70 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          6/r32/esi   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to esi</span>
 <span id="L71" class="LineNr"> 71 </span>    81          0/subop/add         3/mod/direct    6/rm32/esi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esi</span>
-<span id="L72" class="LineNr"> 72 </span>    <span class="subxComment"># var i/ecx : int = 0</span>
+<span id="L72" class="LineNr"> 72 </span>    <span class="subxComment"># var i/ecx: int = 0</span>
 <span id="L73" class="LineNr"> 73 </span>    b9/copy-to-ecx  0/imm32/exit
-<span id="L74" class="LineNr"> 74 </span>    <span class="subxComment"># var c1/eax : byte = 0</span>
+<span id="L74" class="LineNr"> 74 </span>    <span class="subxComment"># var c1/eax: byte = 0</span>
 <span id="L75" class="LineNr"> 75 </span>    b8/copy-to-eax  0/imm32
-<span id="L76" class="LineNr"> 76 </span>    <span class="subxComment"># var c2/ebx : byte = 0</span>
+<span id="L76" class="LineNr"> 76 </span>    <span class="subxComment"># var c2/ebx: byte = 0</span>
 <span id="L77" class="LineNr"> 77 </span>    bb/copy-to-ebx  0/imm32
 <span id="L78" class="LineNr"> 78 </span><span class="Constant">$kernel-string-equal?:loop</span>:
 <span id="L79" class="LineNr"> 79 </span>    <span class="subxComment"># if (i &gt;= n) break</span>