about summary refs log tree commit diff stats
path: root/html/subx/057stop.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-06 09:27:26 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-06 09:34:55 -0800
commit33e7c3a75196fbf8bd8412eda797cfa170eb189d (patch)
tree7132d877c6b8f7813fdc1c5057742698fdf75818 /html/subx/057stop.subx.html
parent33cf1f90be1e9d92513775edccf96cf2f5a971b7 (diff)
downloadmu-33e7c3a75196fbf8bd8412eda797cfa170eb189d.tar.gz
4846
Clean up a few things:

a) Call scan-next-byte in hex.subx with the right number of args. Turns
out tests continue to work fine if they never use the other args.

b) Tear down a test for 'stop' in the right order. Not important since we
have no EBP to restore. But can still be misleading.

c) Have 'check-ints-equal' return nothing. Handy for it to not mess up
EAX. I never use the result anyway, and the name also is imperative suggesting
callers won't expect a return value.
Diffstat (limited to 'html/subx/057stop.subx.html')
-rw-r--r--html/subx/057stop.subx.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/subx/057stop.subx.html b/html/subx/057stop.subx.html
index 88110fa5..c0c8a839 100644
--- a/html/subx/057stop.subx.html
+++ b/html/subx/057stop.subx.html
@@ -226,9 +226,9 @@ if ('onhashchange' in window) {
 <span id="L161" class="LineNr">161 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L162" class="LineNr">162 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              0xc/imm32         <span class="subxComment"># add to ESP</span>
 <span id="L163" class="LineNr">163 </span>    <span class="subxS1Comment"># . epilog</span>
-<span id="L164" class="LineNr">164 </span>    5d/pop-to-EBP
-<span id="L165" class="LineNr">165 </span>    <span class="subxComment"># don't restore ESP from EBP; manually reclaim locals</span>
-<span id="L166" class="LineNr">166 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
+<span id="L164" class="LineNr">164 </span>    <span class="subxComment"># don't restore ESP from EBP; manually reclaim locals</span>
+<span id="L165" class="LineNr">165 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
+<span id="L166" class="LineNr">166 </span>    5d/pop-to-EBP
 <span id="L167" class="LineNr">167 </span>    c3/return
 <span id="L168" class="LineNr">168 </span>
 <span id="L169" class="LineNr">169 </span><span class="subxMinorFunction">_test-stop-1</span>:  <span class="subxComment"># ed : (address exit-descriptor)</span>