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-11-30 20:01:41 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-30 20:01:41 -0800
commitc6f522007de6f96e79d52ae9db2e23333c318c8f (patch)
tree545d6db816273a4099c45bc854728e2e13421449 /html/subx/057stop.subx.html
parent87c606ee062077f51c37e819e458ddf9a6ef8bc9 (diff)
downloadmu-c6f522007de6f96e79d52ae9db2e23333c318c8f.tar.gz
4811
Diffstat (limited to 'html/subx/057stop.subx.html')
-rw-r--r--html/subx/057stop.subx.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/html/subx/057stop.subx.html b/html/subx/057stop.subx.html
index a9f29155..1f859d12 100644
--- a/html/subx/057stop.subx.html
+++ b/html/subx/057stop.subx.html
@@ -23,6 +23,7 @@ body { font-size:12pt; font-family: monospace; color: #aaaaaa; background-color:
 .LineNr { color:#444444; }
 .subxS1Comment { color:#2d8cff; }
 .CommentedCode { color: #6c6c6c; }
+.Constant { color:#00a0a0; }
 .SpecialChar { color: #ff0000; }
 -->
 </style>
@@ -101,7 +102,7 @@ if ('onhashchange' in window) {
 <span id="L41" class="LineNr"> 41 </span>    e8/call  run-tests/disp32  <span class="subxComment"># 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'.</span>
 <span id="L42" class="LineNr"> 42 </span><span class="CommentedCode">#?     e8/call  test-stop-skips-returns-on-exit/disp32</span>
 <span id="L43" class="LineNr"> 43 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L44" class="LineNr"> 44 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          3/r32/EBX  <span class="SpecialChar"> Num-test-failures</span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L44" class="LineNr"> 44 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          3/r32/EBX   <span class="SpecialChar">Num-test-failures</span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L45" class="LineNr"> 45 </span>    b8/copy-to-EAX  1/imm32
 <span id="L46" class="LineNr"> 46 </span>    cd/syscall  0x80/imm8
 <span id="L47" class="LineNr"> 47 </span>
@@ -210,7 +211,7 @@ if ('onhashchange' in window) {
 <span id="L150" class="LineNr">150 </span>    <span class="subxComment"># check that _test-stop-1 tried to call exit(1)</span>
 <span id="L151" class="LineNr">151 </span>    <span class="subxComment"># check-ints-equal(ed-&gt;value, 2, msg)  # i.e. stop was called with value 1</span>
 <span id="L152" class="LineNr">152 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L153" class="LineNr">153 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-stop-skips-returns-on-exit&quot;/imm32
+<span id="L153" class="LineNr">153 </span>    68/push  <span class="Constant">&quot;F - test-stop-skips-returns-on-exit&quot;</span>/imm32
 <span id="L154" class="LineNr">154 </span>    68/push  2/imm32
 <span id="L155" class="LineNr">155 </span>    <span class="subxS2Comment"># . . push ed-&gt;value</span>
 <span id="L156" class="LineNr">156 </span>    ff          6/subop/push        1/mod/*+disp8   0/rm32/EAX   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          4/disp8        <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EAX+4)</span>
@@ -238,7 +239,7 @@ if ('onhashchange' in window) {
 <span id="L178" class="LineNr">178 </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>              4/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L179" class="LineNr">179 </span>    <span class="subxComment"># signal test failed: check-ints-equal(1, 0, msg)</span>
 <span id="L180" class="LineNr">180 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L181" class="LineNr">181 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-stop-skips-returns-on-exit&quot;/imm32
+<span id="L181" class="LineNr">181 </span>    68/push  <span class="Constant">&quot;F - test-stop-skips-returns-on-exit&quot;</span>/imm32
 <span id="L182" class="LineNr">182 </span>    68/push  0/imm32
 <span id="L183" class="LineNr">183 </span>    68/push  1/imm32
 <span id="L184" class="LineNr">184 </span>    <span class="subxS2Comment"># . . call</span>