about summary refs log tree commit diff stats
path: root/html/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-02 16:58:30 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-02 16:58:30 -0800
commit0043952064be14219ca6c428802467b49e6018a3 (patch)
treeb93f25aa54a27080904510b7e7bf222dabca4410 /html/subx
parentc98d4b1c6ae2d103acc7b4f15e4dc6336f30de17 (diff)
downloadmu-0043952064be14219ca6c428802467b49e6018a3.tar.gz
4819
Diffstat (limited to 'html/subx')
-rw-r--r--html/subx/052kernel_string_equal.subx.html6
-rw-r--r--html/subx/056write.subx.html2
-rw-r--r--html/subx/058read.subx.html4
-rw-r--r--html/subx/059read-byte.subx.html6
-rw-r--r--html/subx/apps/crenshaw2-1.subx.html2
-rw-r--r--html/subx/apps/crenshaw2-1b.subx.html6
-rw-r--r--html/subx/apps/factorial.subx.html2
-rw-r--r--html/subx/examples/ex11.subx.html6
8 files changed, 17 insertions, 17 deletions
diff --git a/html/subx/052kernel_string_equal.subx.html b/html/subx/052kernel_string_equal.subx.html
index 36a63e6b..6543192f 100644
--- a/html/subx/052kernel_string_equal.subx.html
+++ b/html/subx/052kernel_string_equal.subx.html
@@ -265,7 +265,7 @@ if ('onhashchange' in window) {
 <span id="L200" class="LineNr">200 </span>    e8/call  kernel-string-equal/disp32
 <span id="L201" class="LineNr">201 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L202" class="LineNr">202 </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="L203" class="LineNr">203 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L203" class="LineNr">203 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L204" class="LineNr">204 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L205" class="LineNr">205 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L206" class="LineNr">206 </span>    68/push  0/imm32/false
@@ -285,7 +285,7 @@ if ('onhashchange' in window) {
 <span id="L220" class="LineNr">220 </span>    e8/call  kernel-string-equal/disp32
 <span id="L221" class="LineNr">221 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L222" class="LineNr">222 </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="L223" class="LineNr">223 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L223" class="LineNr">223 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L224" class="LineNr">224 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L225" class="LineNr">225 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-shorter-array&quot;</span>/imm32
 <span id="L226" class="LineNr">226 </span>    68/push  0/imm32/false
@@ -305,7 +305,7 @@ if ('onhashchange' in window) {
 <span id="L240" class="LineNr">240 </span>    e8/call  kernel-string-equal/disp32
 <span id="L241" class="LineNr">241 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L242" class="LineNr">242 </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="L243" class="LineNr">243 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L243" class="LineNr">243 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L244" class="LineNr">244 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L245" class="LineNr">245 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-longer-array&quot;</span>/imm32
 <span id="L246" class="LineNr">246 </span>    68/push  0/imm32/false
diff --git a/html/subx/056write.subx.html b/html/subx/056write.subx.html
index 7d08441f..7ada1e78 100644
--- a/html/subx/056write.subx.html
+++ b/html/subx/056write.subx.html
@@ -201,7 +201,7 @@ if ('onhashchange' in window) {
 <span id="L136" class="LineNr">136 </span>    e8/call  write/disp32
 <span id="L137" class="LineNr">137 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L138" class="LineNr">138 </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="L139" class="LineNr">139 </span>    <span class="subxComment"># check-ints-equal(EAX, 2)</span>
+<span id="L139" class="LineNr">139 </span>    <span class="subxComment"># check-ints-equal(EAX, 2, msg)</span>
 <span id="L140" class="LineNr">140 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L141" class="LineNr">141 </span>    68/push  <span class="Constant">&quot;F - test-read-single: return EAX&quot;</span>/imm32
 <span id="L142" class="LineNr">142 </span>    68/push  2/imm32
diff --git a/html/subx/058read.subx.html b/html/subx/058read.subx.html
index 7f41b843..5be566bb 100644
--- a/html/subx/058read.subx.html
+++ b/html/subx/058read.subx.html
@@ -276,7 +276,7 @@ if ('onhashchange' in window) {
 <span id="L210" class="LineNr">210 </span>    e8/call  read/disp32
 <span id="L211" class="LineNr">211 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L212" class="LineNr">212 </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="L213" class="LineNr">213 </span>    <span class="subxComment"># check-ints-equal(EAX, 2)</span>
+<span id="L213" class="LineNr">213 </span>    <span class="subxComment"># check-ints-equal(EAX, 2, msg)</span>
 <span id="L214" class="LineNr">214 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L215" class="LineNr">215 </span>    68/push  <span class="Constant">&quot;F - test-read-single: return EAX&quot;</span>/imm32
 <span id="L216" class="LineNr">216 </span>    68/push  2/imm32
@@ -404,7 +404,7 @@ if ('onhashchange' in window) {
 <span id="L338" class="LineNr">338 </span>    e8/call  read/disp32
 <span id="L339" class="LineNr">339 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L340" class="LineNr">340 </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="L341" class="LineNr">341 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L341" class="LineNr">341 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L342" class="LineNr">342 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L343" class="LineNr">343 </span>    68/push  <span class="Constant">&quot;F - test-read-returns-0-on-end-of-file&quot;</span>/imm32
 <span id="L344" class="LineNr">344 </span>    68/push  0/imm32
diff --git a/html/subx/059read-byte.subx.html b/html/subx/059read-byte.subx.html
index 6a057c34..c84c5d25 100644
--- a/html/subx/059read-byte.subx.html
+++ b/html/subx/059read-byte.subx.html
@@ -198,7 +198,7 @@ if ('onhashchange' in window) {
 <span id="L132" class="LineNr">132 </span>    e8/call  read-byte/disp32
 <span id="L133" class="LineNr">133 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L134" class="LineNr">134 </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="L135" class="LineNr">135 </span>    <span class="subxComment"># check-ints-equal(EAX, 'A')</span>
+<span id="L135" class="LineNr">135 </span>    <span class="subxComment"># check-ints-equal(EAX, 'A', msg)</span>
 <span id="L136" class="LineNr">136 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L137" class="LineNr">137 </span>    68/push  <span class="Constant">&quot;F - test-read-byte-single&quot;</span>/imm32
 <span id="L138" class="LineNr">138 </span>    68/push  0x41/imm32
@@ -251,7 +251,7 @@ if ('onhashchange' in window) {
 <span id="L185" class="LineNr">185 </span>    e8/call  read-byte/disp32
 <span id="L186" class="LineNr">186 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L187" class="LineNr">187 </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="L188" class="LineNr">188 </span>    <span class="subxComment"># check-ints-equal(EAX, 'b')</span>
+<span id="L188" class="LineNr">188 </span>    <span class="subxComment"># check-ints-equal(EAX, 'b', msg)</span>
 <span id="L189" class="LineNr">189 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L190" class="LineNr">190 </span>    68/push  <span class="Constant">&quot;F - test-read-byte-multiple&quot;</span>/imm32
 <span id="L191" class="LineNr">191 </span>    68/push  0x62/imm32
@@ -289,7 +289,7 @@ if ('onhashchange' in window) {
 <span id="L223" class="LineNr">223 </span>    e8/call  read-byte/disp32
 <span id="L224" class="LineNr">224 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L225" class="LineNr">225 </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="L226" class="LineNr">226 </span>    <span class="subxComment"># check-ints-equal(EAX, -1)</span>
+<span id="L226" class="LineNr">226 </span>    <span class="subxComment"># check-ints-equal(EAX, -1, msg)</span>
 <span id="L227" class="LineNr">227 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L228" class="LineNr">228 </span>    68/push  <span class="Constant">&quot;F - test-read-byte-end-of-file&quot;</span>/imm32
 <span id="L229" class="LineNr">229 </span>    68/push  -1/imm32
diff --git a/html/subx/apps/crenshaw2-1.subx.html b/html/subx/apps/crenshaw2-1.subx.html
index 5fd8df12..a3e61523 100644
--- a/html/subx/apps/crenshaw2-1.subx.html
+++ b/html/subx/apps/crenshaw2-1.subx.html
@@ -441,7 +441,7 @@ if ('onhashchange' in window) {
 <span id="L375" class="LineNr">375 </span>    <span class="subxComment"># registers except ESP may be clobbered at this point</span>
 <span id="L376" class="LineNr">376 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L377" class="LineNr">377 </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>              0x10/imm32        <span class="subxComment"># add to ESP</span>
-<span id="L378" class="LineNr">378 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3')</span>
+<span id="L378" class="LineNr">378 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3', msg)</span>
 <span id="L379" class="LineNr">379 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L380" class="LineNr">380 </span>    68/push  <span class="Constant">&quot;F - test-get-num-reads-single-digit&quot;</span>/imm32
 <span id="L381" class="LineNr">381 </span>    68/push  0x33/imm32
diff --git a/html/subx/apps/crenshaw2-1b.subx.html b/html/subx/apps/crenshaw2-1b.subx.html
index dbbfd526..19773a56 100644
--- a/html/subx/apps/crenshaw2-1b.subx.html
+++ b/html/subx/apps/crenshaw2-1b.subx.html
@@ -458,7 +458,7 @@ if ('onhashchange' in window) {
 <span id="L392" class="LineNr">392 </span>    <span class="subxComment"># registers except ESP may be clobbered at this point</span>
 <span id="L393" class="LineNr">393 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L394" class="LineNr">394 </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>              0x10/imm32        <span class="subxComment"># add to ESP</span>
-<span id="L395" class="LineNr">395 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3')</span>
+<span id="L395" class="LineNr">395 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3', msg)</span>
 <span id="L396" class="LineNr">396 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L397" class="LineNr">397 </span>    68/push  <span class="Constant">&quot;F - test-get-num-reads-single-digit&quot;</span>/imm32
 <span id="L398" class="LineNr">398 </span>    68/push  0x33/imm32
@@ -634,7 +634,7 @@ if ('onhashchange' in window) {
 <span id="L568" class="LineNr">568 </span>    <span class="subxComment"># registers except ESP may be clobbered at this point</span>
 <span id="L569" class="LineNr">569 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L570" class="LineNr">570 </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>              0x10/imm32        <span class="subxComment"># add to ESP</span>
-<span id="L571" class="LineNr">571 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3456')</span>
+<span id="L571" class="LineNr">571 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3456', msg)</span>
 <span id="L572" class="LineNr">572 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L573" class="LineNr">573 </span>    68/push  <span class="Constant">&quot;F - test-get-num-reads-multiple-digits&quot;</span>/imm32
 <span id="L574" class="LineNr">574 </span>    68/push  0x36353433/imm32
@@ -725,7 +725,7 @@ if ('onhashchange' in window) {
 <span id="L659" class="LineNr">659 </span>    <span class="subxComment"># registers except ESP may be clobbered at this point</span>
 <span id="L660" class="LineNr">660 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L661" class="LineNr">661 </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>              0x10/imm32        <span class="subxComment"># add to ESP</span>
-<span id="L662" class="LineNr">662 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3456')</span>
+<span id="L662" class="LineNr">662 </span>    <span class="subxComment"># check-ints-equal(*_test-output-stream-&gt;data, '3456', msg)</span>
 <span id="L663" class="LineNr">663 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L664" class="LineNr">664 </span>    68/push  <span class="Constant">&quot;F - test-get-num-reads-multiple-digits-followed-by-nondigit&quot;</span>/imm32
 <span id="L665" class="LineNr">665 </span>    68/push  0x36353433/imm32
diff --git a/html/subx/apps/factorial.subx.html b/html/subx/apps/factorial.subx.html
index 7cee2ff1..9f25d28c 100644
--- a/html/subx/apps/factorial.subx.html
+++ b/html/subx/apps/factorial.subx.html
@@ -158,7 +158,7 @@ if ('onhashchange' in window) {
 <span id="L93" class="LineNr"> 93 </span>    e8/call  factorial/disp32
 <span id="L94" class="LineNr"> 94 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L95" class="LineNr"> 95 </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="L96" class="LineNr"> 96 </span>    <span class="subxComment"># check-ints-equal(EAX, 120, failure message)</span>
+<span id="L96" class="LineNr"> 96 </span>    <span class="subxComment"># check-ints-equal(EAX, 120, msg)</span>
 <span id="L97" class="LineNr"> 97 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L98" class="LineNr"> 98 </span>    68/push  <span class="Constant">&quot;F - test-factorial&quot;</span>/imm32
 <span id="L99" class="LineNr"> 99 </span>    68/push  0x78/imm32/expected-120
diff --git a/html/subx/examples/ex11.subx.html b/html/subx/examples/ex11.subx.html
index 58ba0f11..cb2150db 100644
--- a/html/subx/examples/ex11.subx.html
+++ b/html/subx/examples/ex11.subx.html
@@ -264,7 +264,7 @@ if ('onhashchange' in window) {
 <span id="L199" class="LineNr">199 </span>    e8/call  kernel-string-equal/disp32
 <span id="L200" class="LineNr">200 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L201" class="LineNr">201 </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="L202" class="LineNr">202 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L202" class="LineNr">202 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L203" class="LineNr">203 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L204" class="LineNr">204 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L205" class="LineNr">205 </span>    68/push  0/imm32/false
@@ -284,7 +284,7 @@ if ('onhashchange' in window) {
 <span id="L219" class="LineNr">219 </span>    e8/call  kernel-string-equal/disp32
 <span id="L220" class="LineNr">220 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L221" class="LineNr">221 </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="L222" class="LineNr">222 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L222" class="LineNr">222 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L223" class="LineNr">223 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L224" class="LineNr">224 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-shorter-array&quot;</span>/imm32
 <span id="L225" class="LineNr">225 </span>    68/push  0/imm32/false
@@ -304,7 +304,7 @@ if ('onhashchange' in window) {
 <span id="L239" class="LineNr">239 </span>    e8/call  kernel-string-equal/disp32
 <span id="L240" class="LineNr">240 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L241" class="LineNr">241 </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="L242" class="LineNr">242 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
+<span id="L242" class="LineNr">242 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L243" class="LineNr">243 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L244" class="LineNr">244 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-longer-array&quot;</span>/imm32
 <span id="L245" class="LineNr">245 </span>    68/push  0/imm32/false