about summary refs log tree commit diff stats
path: root/html/120allocate.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/120allocate.subx.html')
-rw-r--r--html/120allocate.subx.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/html/120allocate.subx.html b/html/120allocate.subx.html
index 02fd970e..67a66c46 100644
--- a/html/120allocate.subx.html
+++ b/html/120allocate.subx.html
@@ -124,7 +124,7 @@ if ('onhashchange' in window) {
 <span id="L63" class="LineNr"> 63 </span>
 <span id="L64" class="LineNr"> 64 </span><span class="subxComment"># Allocate and clear 'n' bytes of memory from an allocation-descriptor 'ad'.</span>
 <span id="L65" class="LineNr"> 65 </span><span class="subxComment"># Abort if there isn't enough memory in 'ad'.</span>
-<span id="L66" class="LineNr"> 66 </span><span class="subxFunction">allocate</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), n: int, out: (addr handle)</span>
+<span id="L66" class="LineNr"> 66 </span><span class="subxFunction">allocate</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), n: int, out: (addr handle _)</span>
 <span id="L67" class="LineNr"> 67 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L68" class="LineNr"> 68 </span>    55/push-ebp
 <span id="L69" class="LineNr"> 69 </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>
@@ -161,7 +161,7 @@ if ('onhashchange' in window) {
 <span id="L100" class="LineNr">100 </span>
 <span id="L101" class="LineNr">101 </span><span class="subxComment"># Claim the next 'n' bytes of memory starting at ad-&gt;curr and update ad-&gt;curr.</span>
 <span id="L102" class="LineNr">102 </span><span class="subxComment"># Abort if there isn't enough memory in 'ad'.</span>
-<span id="L103" class="LineNr">103 </span><span class="subxFunction">allocate-raw</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), n: int, out: (addr handle)</span>
+<span id="L103" class="LineNr">103 </span><span class="subxFunction">allocate-raw</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), n: int, out: (addr handle _)</span>
 <span id="L104" class="LineNr">104 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L105" class="LineNr">105 </span>    55/push-ebp
 <span id="L106" class="LineNr">106 </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>
@@ -314,7 +314,7 @@ if ('onhashchange' in window) {
 <span id="L253" class="LineNr">253 </span>    5d/pop-to-ebp
 <span id="L254" class="LineNr">254 </span>    c3/return
 <span id="L255" class="LineNr">255 </span>
-<span id="L256" class="LineNr">256 </span><span class="subxFunction">lookup</span>:  <span class="subxComment"># h: (handle T) -&gt; result/eax: (addr T)</span>
+<span id="L256" class="LineNr">256 </span><span class="subxFunction">lookup</span>:  <span class="subxComment"># h: (handle _T) -&gt; result/eax: (addr _T)</span>
 <span id="L257" class="LineNr">257 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L258" class="LineNr">258 </span>    55/push-ebp
 <span id="L259" class="LineNr">259 </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>
@@ -516,7 +516,7 @@ if ('onhashchange' in window) {
 <span id="L455" class="LineNr">455 </span>    c3/return
 <span id="L456" class="LineNr">456 </span>
 <span id="L457" class="LineNr">457 </span><span class="subxComment"># when comparing handles, just treat them as pure values</span>
-<span id="L458" class="LineNr">458 </span><span class="subxFunction">handle-equal?</span>:  <span class="subxComment"># a: handle, b: handle -&gt; result/eax: boolean</span>
+<span id="L458" class="LineNr">458 </span><span class="subxFunction">handle-equal?</span>:  <span class="subxComment"># a: (handle _T), b: (handle _T) -&gt; result/eax: boolean</span>
 <span id="L459" class="LineNr">459 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L460" class="LineNr">460 </span>    55/push-ebp
 <span id="L461" class="LineNr">461 </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>
@@ -547,7 +547,7 @@ if ('onhashchange' in window) {
 <span id="L486" class="LineNr">486 </span>    5d/pop-to-ebp
 <span id="L487" class="LineNr">487 </span>    c3/return
 <span id="L488" class="LineNr">488 </span>
-<span id="L489" class="LineNr">489 </span><span class="subxFunction">copy-handle</span>:  <span class="subxComment"># src: handle, dest: (addr handle)</span>
+<span id="L489" class="LineNr">489 </span><span class="subxFunction">copy-handle</span>:  <span class="subxComment"># src: (handle _T), dest: (addr handle _T)</span>
 <span id="L490" class="LineNr">490 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L491" class="LineNr">491 </span>    55/push-ebp
 <span id="L492" class="LineNr">492 </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>
@@ -634,7 +634,7 @@ if ('onhashchange' in window) {
 <span id="L573" class="LineNr">573 </span>
 <span id="L574" class="LineNr">574 </span><span class="subxComment"># Claim the next 'n+4' bytes of memory and initialize the first 4 to n.</span>
 <span id="L575" class="LineNr">575 </span><span class="subxComment"># Abort if there isn't enough memory in 'ad'.</span>
-<span id="L576" class="LineNr">576 </span><span class="subxFunction">allocate-array</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), n: int, out: (addr handle)</span>
+<span id="L576" class="LineNr">576 </span><span class="subxFunction">allocate-array</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), n: int, out: (addr handle _)</span>
 <span id="L577" class="LineNr">577 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L578" class="LineNr">578 </span>    55/push-ebp
 <span id="L579" class="LineNr">579 </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>
@@ -768,7 +768,7 @@ if ('onhashchange' in window) {
 <span id="L707" class="LineNr">707 </span>    5d/pop-to-ebp
 <span id="L708" class="LineNr">708 </span>    c3/return
 <span id="L709" class="LineNr">709 </span>
-<span id="L710" class="LineNr">710 </span><span class="subxFunction">copy-array</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), src: (addr array), out: (addr handle)</span>
+<span id="L710" class="LineNr">710 </span><span class="subxFunction">copy-array</span>:  <span class="subxComment"># ad: (addr allocation-descriptor), src: (addr array _T), out: (addr handle array _T)</span>
 <span id="L711" class="LineNr">711 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L712" class="LineNr">712 </span>    55/push-ebp
 <span id="L713" class="LineNr">713 </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>
@@ -916,7 +916,7 @@ if ('onhashchange' in window) {
 <span id="L855" class="LineNr">855 </span>    e8/call  <a href='102test.subx.html#L23'>check-ints-equal</a>/disp32
 <span id="L856" class="LineNr">856 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L857" class="LineNr">857 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <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 esp</span>
-<span id="L858" class="LineNr">858 </span>    <span class="subxComment"># check-ints-equal(ad-&gt;curr - expected-payload, 12 + 4 for alloc-id + 4 for length, msg)</span>
+<span id="L858" class="LineNr">858 </span>    <span class="subxComment"># check-ints-equal(ad-&gt;curr - expected-payload, 12 + 4 for alloc-id + 4 for size, msg)</span>
 <span id="L859" class="LineNr">859 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L860" class="LineNr">860 </span>    68/push  <span class="Constant">&quot;F - <a href='120allocate.subx.html#L766'>test-copy-array</a>: updates allocation descriptor&quot;</span>/imm32
 <span id="L861" class="LineNr">861 </span>    68/push  0x14/imm32
@@ -935,7 +935,7 @@ if ('onhashchange' in window) {
 <span id="L874" class="LineNr">874 </span>    c3/return
 <span id="L875" class="LineNr">875 </span>
 <span id="L876" class="LineNr">876 </span><span class="subxComment"># Fill a region of memory with zeroes.</span>
-<span id="L877" class="LineNr">877 </span><span class="subxFunction">zero-out</span>:  <span class="subxComment"># start: (addr byte), len: int</span>
+<span id="L877" class="LineNr">877 </span><span class="subxFunction">zero-out</span>:  <span class="subxComment"># start: (addr byte), size: int</span>
 <span id="L878" class="LineNr">878 </span>    <span class="subxComment"># pseudocode:</span>
 <span id="L879" class="LineNr">879 </span>    <span class="subxComment">#   curr/esi = start</span>
 <span id="L880" class="LineNr">880 </span>    <span class="subxComment">#   i/ecx = 0</span>