about summary refs log tree commit diff stats
path: root/html/058stream-equal.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-03 01:36:34 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-03 01:36:34 -0800
commit7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077 (patch)
tree405503a31b48f5c5e13f103efc5762e57b290625 /html/058stream-equal.subx.html
parentc9bda4d13ea33873dd5bce1eef0434cb11763d19 (diff)
downloadmu-7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077.tar.gz
5876 - address -> addr
Diffstat (limited to 'html/058stream-equal.subx.html')
-rw-r--r--html/058stream-equal.subx.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/html/058stream-equal.subx.html b/html/058stream-equal.subx.html
index 2e24dba7..f4e87361 100644
--- a/html/058stream-equal.subx.html
+++ b/html/058stream-equal.subx.html
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr">  6 </span><span class="subxS1Comment"># . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes</span>
 <span id="L7" class="LineNr">  7 </span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># compare all the data in a stream (ignoring the read pointer)</span>
-<span id="L9" class="LineNr">  9 </span><span class="subxFunction">stream-data-equal?</span>:  <span class="subxComment"># f : (address stream byte), s : (address array byte) -&gt; eax : boolean</span>
+<span id="L9" class="LineNr">  9 </span><span class="subxFunction">stream-data-equal?</span>:  <span class="subxComment"># f : (addr stream byte), s : (addr array byte) -&gt; eax : boolean</span>
 <span id="L10" class="LineNr"> 10 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L11" class="LineNr"> 11 </span>    55/push-ebp
 <span id="L12" class="LineNr"> 12 </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>
@@ -78,9 +78,9 @@ if ('onhashchange' in window) {
 <span id="L19" class="LineNr"> 19 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          6/r32/esi   8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+8) to esi</span>
 <span id="L20" class="LineNr"> 20 </span>    <span class="subxComment"># eax = f-&gt;write</span>
 <span id="L21" class="LineNr"> 21 </span>    8b/copy                         0/mod/indirect  6/rm32/esi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy *esi to eax</span>
-<span id="L22" class="LineNr"> 22 </span>    <span class="subxComment"># var maxf/edx : (address byte) = &amp;f-&gt;data[f-&gt;write]</span>
+<span id="L22" class="LineNr"> 22 </span>    <span class="subxComment"># var maxf/edx : (addr byte) = &amp;f-&gt;data[f-&gt;write]</span>
 <span id="L23" class="LineNr"> 23 </span>    8d/copy-address                 1/mod/*+disp8   4/rm32/sib    6/base/esi  0/index/eax  <span class="Normal"> . </span>          2/r32/edx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy esi+eax+12 to edx</span>
-<span id="L24" class="LineNr"> 24 </span>    <span class="subxComment"># var currf/esi : (address byte) = f-&gt;data</span>
+<span id="L24" class="LineNr"> 24 </span>    <span class="subxComment"># var currf/esi : (addr byte) = f-&gt;data</span>
 <span id="L25" class="LineNr"> 25 </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>              0xc/imm32         <span class="subxComment"># add to esi</span>
 <span id="L26" class="LineNr"> 26 </span>    <span class="subxComment"># edi = s</span>
 <span id="L27" class="LineNr"> 27 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          7/r32/edi   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to edi</span>
@@ -88,7 +88,7 @@ if ('onhashchange' in window) {
 <span id="L29" class="LineNr"> 29 </span>    <span class="subxComment"># if (f-&gt;write != s-&gt;length) return false</span>
 <span id="L30" class="LineNr"> 30 </span>    39/compare                      0/mod/indirect  7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># compare *edi and eax</span>
 <span id="L31" class="LineNr"> 31 </span>    75/jump-if-not-equal  $stream-data-equal?:false/disp8
-<span id="L32" class="LineNr"> 32 </span>    <span class="subxComment"># var currs/edi : (address byte) = s-&gt;data</span>
+<span id="L32" class="LineNr"> 32 </span>    <span class="subxComment"># var currs/edi : (addr byte) = s-&gt;data</span>
 <span id="L33" class="LineNr"> 33 </span>    81          0/subop/add         3/mod/direct    7/rm32/edi   <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 edi</span>
 <span id="L34" class="LineNr"> 34 </span>    <span class="subxComment"># var eax : byte = 0</span>
 <span id="L35" class="LineNr"> 35 </span>    31/xor                          3/mod/direct    0/rm32/eax   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># clear eax</span>
@@ -250,7 +250,7 @@ if ('onhashchange' in window) {
 <span id="L191" class="LineNr">191 </span>    c3/return
 <span id="L192" class="LineNr">192 </span>
 <span id="L193" class="LineNr">193 </span><span class="subxComment"># helper for later tests</span>
-<span id="L194" class="LineNr">194 </span><span class="subxFunction">check-stream-equal</span>:  <span class="subxComment"># f : (address stream byte), s : (address array byte), msg : (address array byte)</span>
+<span id="L194" class="LineNr">194 </span><span class="subxFunction">check-stream-equal</span>:  <span class="subxComment"># f : (addr stream byte), s : (addr array byte), msg : (addr array byte)</span>
 <span id="L195" class="LineNr">195 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L196" class="LineNr">196 </span>    55/push-ebp
 <span id="L197" class="LineNr">197 </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>
@@ -286,7 +286,7 @@ if ('onhashchange' in window) {
 <span id="L227" class="LineNr">227 </span><span class="subxComment"># on success, set f-&gt;read to after the next newline</span>
 <span id="L228" class="LineNr">228 </span><span class="subxComment"># on failure, leave f-&gt;read unmodified</span>
 <span id="L229" class="LineNr">229 </span><span class="subxComment"># this function is usually used only in tests, so we repeatedly write f-&gt;read</span>
-<span id="L230" class="LineNr">230 </span><span class="subxFunction">next-stream-line-equal?</span>:  <span class="subxComment"># f : (address stream byte), s : (address array byte) -&gt; eax : boolean</span>
+<span id="L230" class="LineNr">230 </span><span class="subxFunction">next-stream-line-equal?</span>:  <span class="subxComment"># f : (addr stream byte), s : (addr array byte) -&gt; eax : boolean</span>
 <span id="L231" class="LineNr">231 </span>    <span class="subxComment"># pseudocode:</span>
 <span id="L232" class="LineNr">232 </span>    <span class="subxComment">#   currf = f-&gt;read  # bound: f-&gt;write</span>
 <span id="L233" class="LineNr">233 </span>    <span class="subxComment">#   currs = 0  # bound : s-&gt;length</span>