about summary refs log tree commit diff stats
path: root/html/084emit-hex-array.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/084emit-hex-array.subx.html
parentc9bda4d13ea33873dd5bce1eef0434cb11763d19 (diff)
downloadmu-7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077.tar.gz
5876 - address -> addr
Diffstat (limited to 'html/084emit-hex-array.subx.html')
-rw-r--r--html/084emit-hex-array.subx.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/084emit-hex-array.subx.html b/html/084emit-hex-array.subx.html
index e4d39d23..836f53f9 100644
--- a/html/084emit-hex-array.subx.html
+++ b/html/084emit-hex-array.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr">  4 </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="L5" class="LineNr">  5 </span>
 <span id="L6" class="LineNr">  6 </span><span class="subxComment"># print 'arr' in hex with a space after every byte</span>
-<span id="L7" class="LineNr">  7 </span><span class="subxFunction">emit-hex-array</span>:  <span class="subxComment"># out : (address buffered-file), arr : (address array byte)</span>
+<span id="L7" class="LineNr">  7 </span><span class="subxFunction">emit-hex-array</span>:  <span class="subxComment"># out : (addr buffered-file), arr : (addr array byte)</span>
 <span id="L8" class="LineNr">  8 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L9" class="LineNr">  9 </span>    55/push-ebp
 <span id="L10" class="LineNr"> 10 </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>
@@ -77,9 +77,9 @@ if ('onhashchange' in window) {
 <span id="L17" class="LineNr"> 17 </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="L18" class="LineNr"> 18 </span>    <span class="subxComment"># edx = arr</span>
 <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>          2/r32/edx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to edx</span>
-<span id="L20" class="LineNr"> 20 </span>    <span class="subxComment"># var curr/ecx : (address byte) = arr-&gt;data</span>
+<span id="L20" class="LineNr"> 20 </span>    <span class="subxComment"># var curr/ecx : (addr byte) = arr-&gt;data</span>
 <span id="L21" class="LineNr"> 21 </span>    8d/copy-address                 1/mod/*+disp8   2/rm32/edx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          1/r32/ecx   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy edx+4 to ecx</span>
-<span id="L22" class="LineNr"> 22 </span>    <span class="subxComment"># var max/edx : (address byte) = &amp;arr-&gt;data[arr-&gt;length]</span>
+<span id="L22" class="LineNr"> 22 </span>    <span class="subxComment"># var max/edx : (addr byte) = &amp;arr-&gt;data[arr-&gt;length]</span>
 <span id="L23" class="LineNr"> 23 </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="L24" class="LineNr"> 24 </span>    01/add                          3/mod/direct    2/rm32/edx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          1/r32/ecx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># add ecx to edx</span>
 <span id="L25" class="LineNr"> 25 </span>    <span class="subxComment"># var c/eax : byte = 0</span>