diff options
Diffstat (limited to 'html/059stop.subx.html')
-rw-r--r-- | html/059stop.subx.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/html/059stop.subx.html b/html/059stop.subx.html index 5493a95d..c94eda2d 100644 --- a/html/059stop.subx.html +++ b/html/059stop.subx.html @@ -77,8 +77,8 @@ if ('onhashchange' in window) { <span id="L16" class="LineNr"> 16 </span><span class="subxComment"># input target with an output status parameter into a type called 'exit-descriptor'.</span> <span id="L17" class="LineNr"> 17 </span><span class="subxComment">#</span> <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># So the exit-descriptor looks like this:</span> -<span id="L19" class="LineNr"> 19 </span><span class="subxComment"># target : address # return address for 'stop' to unwind to</span> -<span id="L20" class="LineNr"> 20 </span><span class="subxComment"># value : int # exit status stop was called with</span> +<span id="L19" class="LineNr"> 19 </span><span class="subxComment"># target: address # return address for 'stop' to unwind to</span> +<span id="L20" class="LineNr"> 20 </span><span class="subxComment"># value: int # exit status stop was called with</span> <span id="L21" class="LineNr"> 21 </span><span class="subxComment">#</span> <span id="L22" class="LineNr"> 22 </span><span class="subxComment"># 'stop' thus takes two parameters: an exit-descriptor and the exit status.</span> <span id="L23" class="LineNr"> 23 </span><span class="subxComment">#</span> @@ -102,7 +102,7 @@ if ('onhashchange' in window) { <span id="L41" class="LineNr"> 41 </span><span class="subxComment"># the stack.</span> <span id="L42" class="LineNr"> 42 </span><span class="subxComment"># Ugly that we need to know the size of args. Don't allocate variables between</span> <span id="L43" class="LineNr"> 43 </span><span class="subxComment"># tailor-exit-descriptor and the call it's for.</span> -<span id="L44" class="LineNr"> 44 </span><span class="subxFunction">tailor-exit-descriptor</span>: <span class="subxComment"># ed : (addr exit-descriptor), nbytes : int</span> +<span id="L44" class="LineNr"> 44 </span><span class="subxFunction">tailor-exit-descriptor</span>: <span class="subxComment"># ed: (addr exit-descriptor), nbytes: int</span> <span id="L45" class="LineNr"> 45 </span> <span class="subxS1Comment"># . prologue</span> <span id="L46" class="LineNr"> 46 </span> 55/push-ebp <span id="L47" class="LineNr"> 47 </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> @@ -150,7 +150,7 @@ if ('onhashchange' in window) { <span id="L89" class="LineNr"> 89 </span> 5d/pop-to-ebp <span id="L90" class="LineNr"> 90 </span> c3/return <span id="L91" class="LineNr"> 91 </span> -<span id="L92" class="LineNr"> 92 </span><span class="subxFunction">stop</span>: <span class="subxComment"># ed : (addr exit-descriptor), value : int</span> +<span id="L92" class="LineNr"> 92 </span><span class="subxFunction">stop</span>: <span class="subxComment"># ed: (addr exit-descriptor), value: int</span> <span id="L93" class="LineNr"> 93 </span> <span class="subxComment"># no prologue; one way or another, we're going to clobber registers</span> <span id="L94" class="LineNr"> 94 </span> <span class="subxComment"># eax = ed</span> <span id="L95" class="LineNr"> 95 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(esp+4) to eax</span> @@ -184,7 +184,7 @@ if ('onhashchange' in window) { <span id="L123" class="LineNr">123 </span> <span class="subxComment"># Make room for an exit descriptor on the stack. That's almost always the</span> <span id="L124" class="LineNr">124 </span> <span class="subxComment"># right place for it, available only as long as it's legal to use. Once this</span> <span id="L125" class="LineNr">125 </span> <span class="subxComment"># containing function returns we'll need a new exit descriptor.</span> -<span id="L126" class="LineNr">126 </span> <span class="subxComment"># var ed/eax : exit-descriptor</span> +<span id="L126" class="LineNr">126 </span> <span class="subxComment"># var ed/eax: exit-descriptor</span> <span id="L127" class="LineNr">127 </span> 68/push 0/imm32 <span id="L128" class="LineNr">128 </span> 68/push 0/imm32 <span id="L129" class="LineNr">129 </span> 89/copy 3/mod/direct 0/rm32/eax <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 eax</span> @@ -222,7 +222,7 @@ if ('onhashchange' in window) { <span id="L161" class="LineNr">161 </span> 5d/pop-to-ebp <span id="L162" class="LineNr">162 </span> c3/return <span id="L163" class="LineNr">163 </span> -<span id="L164" class="LineNr">164 </span><span class="subxMinorFunction">_test-stop-1</span>: <span class="subxComment"># ed : (addr exit-descriptor)</span> +<span id="L164" class="LineNr">164 </span><span class="subxMinorFunction">_test-stop-1</span>: <span class="subxComment"># ed: (addr exit-descriptor)</span> <span id="L165" class="LineNr">165 </span> <span class="subxS1Comment"># . prologue</span> <span id="L166" class="LineNr">166 </span> 55/push-ebp <span id="L167" class="LineNr">167 </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> @@ -249,7 +249,7 @@ if ('onhashchange' in window) { <span id="L188" class="LineNr">188 </span> 5d/pop-to-ebp <span id="L189" class="LineNr">189 </span> c3/return <span id="L190" class="LineNr">190 </span> -<span id="L191" class="LineNr">191 </span><span class="subxMinorFunction">_test-stop-2</span>: <span class="subxComment"># ed : (addr exit-descriptor)</span> +<span id="L191" class="LineNr">191 </span><span class="subxMinorFunction">_test-stop-2</span>: <span class="subxComment"># ed: (addr exit-descriptor)</span> <span id="L192" class="LineNr">192 </span> <span class="subxS1Comment"># . prologue</span> <span id="L193" class="LineNr">193 </span> 55/push-ebp <span id="L194" class="LineNr">194 </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> |