about summary refs log tree commit diff stats
path: root/html/apps/handle.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-17 22:03:35 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-17 22:03:48 -0700
commitb1635a5c8e25650a19999c246be321a0794eb58a (patch)
treea5ce06d138fac34b1e13fb1b06fd91b8b6c55712 /html/apps/handle.subx.html
parent540974343290cb9ac0cf55b999447bf563928612 (diff)
downloadmu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz
5701
Diffstat (limited to 'html/apps/handle.subx.html')
-rw-r--r--html/apps/handle.subx.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/html/apps/handle.subx.html b/html/apps/handle.subx.html
index 66314585..c63522d8 100644
--- a/html/apps/handle.subx.html
+++ b/html/apps/handle.subx.html
@@ -108,7 +108,7 @@ if ('onhashchange' in window) {
 <span id="L45" class="LineNr"> 45 </span>    cd/syscall  0x80/imm8
 <span id="L46" class="LineNr"> 46 </span>
 <span id="L47" class="LineNr"> 47 </span><span class="subxFunction">new</span>:  <span class="subxComment"># ad : (address allocation-descriptor), n : int, out : (address handle)</span>
-<span id="L48" class="LineNr"> 48 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L48" class="LineNr"> 48 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L49" class="LineNr"> 49 </span>    55/push-ebp
 <span id="L50" class="LineNr"> 50 </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>
 <span id="L51" class="LineNr"> 51 </span>    <span class="subxS1Comment"># . save registers</span>
@@ -150,13 +150,13 @@ if ('onhashchange' in window) {
 <span id="L87" class="LineNr"> 87 </span>    5a/pop-to-edx
 <span id="L88" class="LineNr"> 88 </span>    59/pop-to-ecx
 <span id="L89" class="LineNr"> 89 </span>    58/pop-to-eax
-<span id="L90" class="LineNr"> 90 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L90" class="LineNr"> 90 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L91" class="LineNr"> 91 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L92" class="LineNr"> 92 </span>    5d/pop-to-ebp
 <span id="L93" class="LineNr"> 93 </span>    c3/return
 <span id="L94" class="LineNr"> 94 </span>
 <span id="L95" class="LineNr"> 95 </span><span class="subxTest">test-new</span>:
-<span id="L96" class="LineNr"> 96 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L96" class="LineNr"> 96 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L97" class="LineNr"> 97 </span>    55/push-ebp
 <span id="L98" class="LineNr"> 98 </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>
 <span id="L99" class="LineNr"> 99 </span>    <span class="subxComment"># var heap/edx : (address allocation-descriptor) = {0, 0}</span>
@@ -217,13 +217,13 @@ if ('onhashchange' in window) {
 <span id="L154" class="LineNr">154 </span>    <span class="subxComment"># clean up</span>
 <span id="L155" class="LineNr">155 </span>    <span class="subxS1Comment"># . *Next-alloc-id = 1</span>
 <span id="L156" class="LineNr">156 </span>    c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>    <span class="SpecialChar"><a href='handle.subx.html#L425'>Next-alloc-id</a></span>/disp32  1/imm32           <span class="subxComment"># copy to *Next-alloc-id</span>
-<span id="L157" class="LineNr">157 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L157" class="LineNr">157 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L158" class="LineNr">158 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L159" class="LineNr">159 </span>    5d/pop-to-ebp
 <span id="L160" class="LineNr">160 </span>    c3/return
 <span id="L161" class="LineNr">161 </span>
 <span id="L162" class="LineNr">162 </span><span class="subxMinorFunction">_pending-test-new-failure</span>:
-<span id="L163" class="LineNr">163 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L163" class="LineNr">163 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L164" class="LineNr">164 </span>    55/push-ebp
 <span id="L165" class="LineNr">165 </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>
 <span id="L166" class="LineNr">166 </span>    <span class="subxS1Comment"># . *Next-alloc-id = 0x34</span>
@@ -279,13 +279,13 @@ if ('onhashchange' in window) {
 <span id="L216" class="LineNr">216 </span>    <span class="subxComment"># clean up</span>
 <span id="L217" class="LineNr">217 </span>    <span class="subxS1Comment"># . *Next-alloc-id = 1</span>
 <span id="L218" class="LineNr">218 </span>    c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>    <span class="SpecialChar"><a href='handle.subx.html#L425'>Next-alloc-id</a></span>/disp32  1/imm32           <span class="subxComment"># copy to *Next-alloc-id</span>
-<span id="L219" class="LineNr">219 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L219" class="LineNr">219 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L220" class="LineNr">220 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L221" class="LineNr">221 </span>    5d/pop-to-ebp
 <span id="L222" class="LineNr">222 </span>    c3/return
 <span id="L223" class="LineNr">223 </span>
 <span id="L224" class="LineNr">224 </span><span class="subxFunction">lookup</span>:  <span class="subxComment"># h : (handle T) -&gt; eax : (address T)</span>
-<span id="L225" class="LineNr">225 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L225" class="LineNr">225 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L226" class="LineNr">226 </span>    55/push-ebp
 <span id="L227" class="LineNr">227 </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>
 <span id="L228" class="LineNr">228 </span>    <span class="subxH1Comment"># - as a proof of concept for future inlining, uses no general-purpose registers besides the output (eax)</span>
@@ -321,7 +321,7 @@ if ('onhashchange' in window) {
 <span id="L258" class="LineNr">258 </span><span class="CommentedCode">#?     # add 4 to eax</span>
 <span id="L259" class="LineNr">259 </span><span class="CommentedCode">#?     05/add-to-eax  4/imm32</span>
 <span id="L260" class="LineNr">260 </span>    <span class="subxH1Comment"># - }</span>
-<span id="L261" class="LineNr">261 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L261" class="LineNr">261 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L262" class="LineNr">262 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L263" class="LineNr">263 </span>    5d/pop-to-ebp
 <span id="L264" class="LineNr">264 </span>    c3/return
@@ -341,7 +341,7 @@ if ('onhashchange' in window) {
 <span id="L278" class="LineNr">278 </span>    cd/syscall  0x80/imm8
 <span id="L279" class="LineNr">279 </span>
 <span id="L280" class="LineNr">280 </span><span class="subxTest">test-lookup-success</span>:
-<span id="L281" class="LineNr">281 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L281" class="LineNr">281 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L282" class="LineNr">282 </span>    55/push-ebp
 <span id="L283" class="LineNr">283 </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>
 <span id="L284" class="LineNr">284 </span>    <span class="subxS1Comment"># . save registers</span>
@@ -404,13 +404,13 @@ if ('onhashchange' in window) {
 <span id="L341" class="LineNr">341 </span>    <span class="subxS1Comment"># . restore registers</span>
 <span id="L342" class="LineNr">342 </span>    5a/pop-to-edx
 <span id="L343" class="LineNr">343 </span>    59/pop-to-ecx
-<span id="L344" class="LineNr">344 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L344" class="LineNr">344 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L345" class="LineNr">345 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L346" class="LineNr">346 </span>    5d/pop-to-ebp
 <span id="L347" class="LineNr">347 </span>    c3/return
 <span id="L348" class="LineNr">348 </span>
 <span id="L349" class="LineNr">349 </span><span class="subxTest">test-lookup-failure</span>:
-<span id="L350" class="LineNr">350 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L350" class="LineNr">350 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L351" class="LineNr">351 </span>    55/push-ebp
 <span id="L352" class="LineNr">352 </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>
 <span id="L353" class="LineNr">353 </span>    <span class="subxComment"># var heap/esi : (address allocation-descriptor) = {0, 0}</span>
@@ -477,7 +477,7 @@ if ('onhashchange' in window) {
 <span id="L414" class="LineNr">414 </span>    <span class="subxComment"># clean up</span>
 <span id="L415" class="LineNr">415 </span>    <span class="subxS1Comment"># . *Next-alloc-id = 1</span>
 <span id="L416" class="LineNr">416 </span>    c7          0/subop/copy        0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>    <span class="SpecialChar"><a href='handle.subx.html#L425'>Next-alloc-id</a></span>/disp32  1/imm32           <span class="subxComment"># copy to *Next-alloc-id</span>
-<span id="L417" class="LineNr">417 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L417" class="LineNr">417 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L418" class="LineNr">418 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L419" class="LineNr">419 </span>    5d/pop-to-ebp
 <span id="L420" class="LineNr">420 </span>    c3/return