about summary refs log tree commit diff stats
path: root/html/subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-30 01:42:06 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-30 01:42:06 -0800
commitebd355215059d07c5830a5aeb165376b7cb757e1 (patch)
treedbcc52a96224033b9f4053007f03c9fea5c95ccb /html/subx
parent395b3ffbebb4656fdc5096887bc1ca7df5180da3 (diff)
downloadmu-ebd355215059d07c5830a5aeb165376b7cb757e1.tar.gz
4895
Diffstat (limited to 'html/subx')
-rw-r--r--html/subx/052kernel_string_equal.subx.html6
-rw-r--r--html/subx/054string_equal.subx.html2
-rw-r--r--html/subx/055trace.subx.html4
-rw-r--r--html/subx/056write.subx.html2
-rw-r--r--html/subx/057stop.subx.html2
-rw-r--r--html/subx/058read.subx.html2
-rw-r--r--html/subx/059read-byte.subx.html2
-rw-r--r--html/subx/060write-stream.subx.html2
-rw-r--r--html/subx/061error.subx.html4
-rw-r--r--html/subx/062write-byte.subx.html2
-rw-r--r--html/subx/063print-byte.subx.html2
-rw-r--r--html/subx/064write-buffered.subx.html2
-rw-r--r--html/subx/065error-byte.subx.html4
-rw-r--r--html/subx/066allocate.subx.html2
-rw-r--r--html/subx/apps/hex.subx.html10
-rw-r--r--html/subx/examples/ex1.subx.html4
-rw-r--r--html/subx/examples/ex10.subx.html4
-rw-r--r--html/subx/examples/ex11.subx.html4
-rw-r--r--html/subx/examples/ex12.subx.html4
-rw-r--r--html/subx/examples/ex2.subx.html4
-rw-r--r--html/subx/examples/ex3.subx.html4
-rw-r--r--html/subx/examples/ex4.subx.html4
-rw-r--r--html/subx/examples/ex5.subx.html4
-rw-r--r--html/subx/examples/ex6.subx.html4
-rw-r--r--html/subx/examples/ex7.subx.html4
-rw-r--r--html/subx/examples/ex8.subx.html4
-rw-r--r--html/subx/examples/ex9.subx.html4
27 files changed, 48 insertions, 48 deletions
diff --git a/html/subx/052kernel_string_equal.subx.html b/html/subx/052kernel_string_equal.subx.html
index 30f6ea41..e620ab08 100644
--- a/html/subx/052kernel_string_equal.subx.html
+++ b/html/subx/052kernel_string_equal.subx.html
@@ -67,8 +67,8 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr">  6 </span><span class="subxComment"># a null-terminated 'kernel string' with a length-prefixed 'SubX string'.</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L9" class="LineNr">  9 </span><span class="subxComment">#   $ subx translate 05[0-2]*.subx -o /tmp/tmp52</span>
-<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ subx run /tmp/tmp52  # runs a series of tests</span>
+<span id="L9" class="LineNr">  9 </span><span class="subxComment">#   $ ./subx translate 05[0-2]*.subx -o /tmp/tmp52</span>
+<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ ./subx run /tmp/tmp52  # runs a series of tests</span>
 <span id="L11" class="LineNr"> 11 </span><span class="subxComment">#   ......  # all tests pass</span>
 <span id="L12" class="LineNr"> 12 </span><span class="subxComment">#</span>
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment"># (We can't yet run the tests when given a &quot;test&quot; commandline argument,</span>
@@ -83,7 +83,7 @@ if ('onhashchange' in window) {
 <span id="L22" class="LineNr"> 22 </span><span class="subxComment"># main:</span>
 <span id="L23" class="LineNr"> 23 </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="L24" class="LineNr"> 24 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L25" class="LineNr"> 25 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L25" class="LineNr"> 25 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L26" class="LineNr"> 26 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L27" class="LineNr"> 27 </span>    cd/syscall  0x80/imm8
 <span id="L28" class="LineNr"> 28 </span>
diff --git a/html/subx/054string_equal.subx.html b/html/subx/054string_equal.subx.html
index f28c7e95..b6339ba6 100644
--- a/html/subx/054string_equal.subx.html
+++ b/html/subx/054string_equal.subx.html
@@ -70,7 +70,7 @@ if ('onhashchange' in window) {
 <span id="L9" class="LineNr">  9 </span>    <span class="subxComment"># run-tests()</span>
 <span id="L10" class="LineNr"> 10 </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="L11" class="LineNr"> 11 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L12" class="LineNr"> 12 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L12" class="LineNr"> 12 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L13" class="LineNr"> 13 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L14" class="LineNr"> 14 </span>    cd/syscall  0x80/imm8
 <span id="L15" class="LineNr"> 15 </span>
diff --git a/html/subx/055trace.subx.html b/html/subx/055trace.subx.html
index 277f6065..7e71858c 100644
--- a/html/subx/055trace.subx.html
+++ b/html/subx/055trace.subx.html
@@ -108,7 +108,7 @@ if ('onhashchange' in window) {
 <span id="L46" class="LineNr"> 46 </span>    <span class="subxComment"># run-tests()</span>
 <span id="L47" class="LineNr"> 47 </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="L48" class="LineNr"> 48 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L49" class="LineNr"> 49 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L49" class="LineNr"> 49 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L50" class="LineNr"> 50 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L51" class="LineNr"> 51 </span>    cd/syscall  0x80/imm8
 <span id="L52" class="LineNr"> 52 </span>
@@ -171,7 +171,7 @@ if ('onhashchange' in window) {
 <span id="L109" class="LineNr">109 </span>    8b/copy                         0/mod/indirect  7/rm32/EDI   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          1/r32/ECX  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy *EDI to ECX</span>
 <span id="L110" class="LineNr">110 </span>    <span class="subxComment"># EAX = _append-3(&amp;t-&gt;data[t-&gt;write], &amp;t-&gt;data[t-&gt;length], line)</span>
 <span id="L111" class="LineNr">111 </span>    <span class="subxS2Comment"># . . push line</span>
-<span id="L112" class="LineNr">112 </span>    68/push  <span class="SpecialChar"><a href='051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L112" class="LineNr">112 </span>    68/push  <span class="SpecialChar"><a href='051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L113" class="LineNr">113 </span>    <span class="subxS2Comment"># . . push &amp;t-&gt;data[t-&gt;length]</span>
 <span id="L114" class="LineNr">114 </span>    8d/copy-address                 1/mod/*+disp8   4/rm32/sib    7/base/EDI  2/index/EDX  <span class="Normal"> . </span>          3/r32/EBX   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy EDI+EDX+12 to EBX</span>
 <span id="L115" class="LineNr">115 </span>    53/push-EBX
diff --git a/html/subx/056write.subx.html b/html/subx/056write.subx.html
index e71e4565..01337f40 100644
--- a/html/subx/056write.subx.html
+++ b/html/subx/056write.subx.html
@@ -84,7 +84,7 @@ if ('onhashchange' in window) {
 <span id="L23" class="LineNr"> 23 </span><span class="subxComment"># main:</span>
 <span id="L24" class="LineNr"> 24 </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="L25" class="LineNr"> 25 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L26" class="LineNr"> 26 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L26" class="LineNr"> 26 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L27" class="LineNr"> 27 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L28" class="LineNr"> 28 </span>    cd/syscall  0x80/imm8
 <span id="L29" class="LineNr"> 29 </span>
diff --git a/html/subx/057stop.subx.html b/html/subx/057stop.subx.html
index c6fd5f80..d705f3be 100644
--- a/html/subx/057stop.subx.html
+++ b/html/subx/057stop.subx.html
@@ -103,7 +103,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="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></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="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></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/exit
 <span id="L46" class="LineNr"> 46 </span>    cd/syscall  0x80/imm8
 <span id="L47" class="LineNr"> 47 </span>
diff --git a/html/subx/058read.subx.html b/html/subx/058read.subx.html
index 9fc157d4..2c54adce 100644
--- a/html/subx/058read.subx.html
+++ b/html/subx/058read.subx.html
@@ -110,7 +110,7 @@ if ('onhashchange' in window) {
 <span id="L48" class="LineNr"> 48 </span><span class="subxComment"># main:</span>
 <span id="L49" class="LineNr"> 49 </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="L50" class="LineNr"> 50 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L51" class="LineNr"> 51 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L51" class="LineNr"> 51 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L52" class="LineNr"> 52 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L53" class="LineNr"> 53 </span>    cd/syscall  0x80/imm8
 <span id="L54" class="LineNr"> 54 </span>
diff --git a/html/subx/059read-byte.subx.html b/html/subx/059read-byte.subx.html
index b885524e..5103e9e6 100644
--- a/html/subx/059read-byte.subx.html
+++ b/html/subx/059read-byte.subx.html
@@ -99,7 +99,7 @@ if ('onhashchange' in window) {
 <span id="L36" class="LineNr"> 36 </span><span class="CommentedCode">#?     e8/call test-read-byte-multiple/disp32</span>
 <span id="L37" class="LineNr"> 37 </span><span class="CommentedCode">#?     e8/call test-read-byte-refills-buffer/disp32</span>
 <span id="L38" class="LineNr"> 38 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L39" class="LineNr"> 39 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L39" class="LineNr"> 39 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L40" class="LineNr"> 40 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L41" class="LineNr"> 41 </span>    cd/syscall  0x80/imm8
 <span id="L42" class="LineNr"> 42 </span>
diff --git a/html/subx/060write-stream.subx.html b/html/subx/060write-stream.subx.html
index ecc2f17d..66a8c601 100644
--- a/html/subx/060write-stream.subx.html
+++ b/html/subx/060write-stream.subx.html
@@ -77,7 +77,7 @@ if ('onhashchange' in window) {
 <span id="L15" class="LineNr"> 15 </span><span class="CommentedCode">#?     e8/call test-write-stream-appends/disp32</span>
 <span id="L16" class="LineNr"> 16 </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="L17" class="LineNr"> 17 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L18" class="LineNr"> 18 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L18" class="LineNr"> 18 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L19" class="LineNr"> 19 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L20" class="LineNr"> 20 </span>    cd/syscall  0x80/imm8
 <span id="L21" class="LineNr"> 21 </span>
diff --git a/html/subx/061error.subx.html b/html/subx/061error.subx.html
index a3f9c0da..e22783a5 100644
--- a/html/subx/061error.subx.html
+++ b/html/subx/061error.subx.html
@@ -67,7 +67,7 @@ if ('onhashchange' in window) {
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># main:</span>
 <span id="L9" class="LineNr"> 9 </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="L10" class="LineNr">10 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L11" class="LineNr">11 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L11" class="LineNr">11 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L12" class="LineNr">12 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L13" class="LineNr">13 </span>    cd/syscall  0x80/imm8
 <span id="L14" class="LineNr">14 </span>
@@ -94,7 +94,7 @@ if ('onhashchange' in window) {
 <span id="L35" class="LineNr">35 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L36" class="LineNr">36 </span>    <span class="subxComment"># write(out, Newline)</span>
 <span id="L37" class="LineNr">37 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L38" class="LineNr">38 </span>    68/push  <span class="SpecialChar"><a href='051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L38" class="LineNr">38 </span>    68/push  <span class="SpecialChar"><a href='051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L39" class="LineNr">39 </span>    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>          0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># push *(EBP+12)</span>
 <span id="L40" class="LineNr">40 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L41" class="LineNr">41 </span>    e8/call  <a href='056write.subx.html#L31'>write</a>/disp32
diff --git a/html/subx/062write-byte.subx.html b/html/subx/062write-byte.subx.html
index 75c5f602..07f446ce 100644
--- a/html/subx/062write-byte.subx.html
+++ b/html/subx/062write-byte.subx.html
@@ -91,7 +91,7 @@ if ('onhashchange' in window) {
 <span id="L30" class="LineNr"> 30 </span><span class="subxComment"># main:</span>
 <span id="L31" class="LineNr"> 31 </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="L32" class="LineNr"> 32 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L33" class="LineNr"> 33 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L33" class="LineNr"> 33 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L34" class="LineNr"> 34 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L35" class="LineNr"> 35 </span>    cd/syscall  0x80/imm8
 <span id="L36" class="LineNr"> 36 </span>
diff --git a/html/subx/063print-byte.subx.html b/html/subx/063print-byte.subx.html
index ee22ca2f..a16ac3b6 100644
--- a/html/subx/063print-byte.subx.html
+++ b/html/subx/063print-byte.subx.html
@@ -69,7 +69,7 @@ if ('onhashchange' in window) {
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># main:</span>
 <span id="L9" class="LineNr">  9 </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="L10" class="LineNr"> 10 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L11" class="LineNr"> 11 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L11" class="LineNr"> 11 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L12" class="LineNr"> 12 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L13" class="LineNr"> 13 </span>    cd/syscall  0x80/imm8
 <span id="L14" class="LineNr"> 14 </span>
diff --git a/html/subx/064write-buffered.subx.html b/html/subx/064write-buffered.subx.html
index 9091a70a..a4a39421 100644
--- a/html/subx/064write-buffered.subx.html
+++ b/html/subx/064write-buffered.subx.html
@@ -72,7 +72,7 @@ if ('onhashchange' in window) {
 <span id="L10" class="LineNr"> 10 </span><span class="CommentedCode">#?     e8/call test-write-buffered-with-intermediate-flush/disp32</span>
 <span id="L11" class="LineNr"> 11 </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="L12" class="LineNr"> 12 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L13" class="LineNr"> 13 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L13" class="LineNr"> 13 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L14" class="LineNr"> 14 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L15" class="LineNr"> 15 </span>    cd/syscall  0x80/imm8
 <span id="L16" class="LineNr"> 16 </span>
diff --git a/html/subx/065error-byte.subx.html b/html/subx/065error-byte.subx.html
index 175628d3..67cae32a 100644
--- a/html/subx/065error-byte.subx.html
+++ b/html/subx/065error-byte.subx.html
@@ -82,7 +82,7 @@ if ('onhashchange' in window) {
 <span id="L22" class="LineNr"> 22 </span>    <span class="subxComment"># automatic test</span>
 <span id="L23" class="LineNr"> 23 </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="L24" class="LineNr"> 24 </span>    <span class="subxS1Comment"># . syscall(exit, Num-test-failures)</span>
-<span id="L25" class="LineNr"> 25 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L25" class="LineNr"> 25 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L26" class="LineNr"> 26 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L27" class="LineNr"> 27 </span>    cd/syscall  0x80/imm8
 <span id="L28" class="LineNr"> 28 </span>
@@ -125,7 +125,7 @@ if ('onhashchange' in window) {
 <span id="L65" class="LineNr"> 65 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L66" class="LineNr"> 66 </span>    <span class="subxComment"># write-buffered(out, Newline)</span>
 <span id="L67" class="LineNr"> 67 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L68" class="LineNr"> 68 </span>    68/push  <span class="SpecialChar"><a href='051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L68" class="LineNr"> 68 </span>    68/push  <span class="SpecialChar"><a href='051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L69" class="LineNr"> 69 </span>    ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>          0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># push *(EBP+12)</span>
 <span id="L70" class="LineNr"> 70 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L71" class="LineNr"> 71 </span>    e8/call  <a href='064write-buffered.subx.html#L17'>write-buffered</a>/disp32
diff --git a/html/subx/066allocate.subx.html b/html/subx/066allocate.subx.html
index 68746e1f..94a0b52a 100644
--- a/html/subx/066allocate.subx.html
+++ b/html/subx/066allocate.subx.html
@@ -92,7 +92,7 @@ if ('onhashchange' in window) {
 <span id="L32" class="LineNr"> 32 </span><span class="subxComment"># main:</span>
 <span id="L33" class="LineNr"> 33 </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="L34" class="LineNr"> 34 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L35" class="LineNr"> 35 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L35" class="LineNr"> 35 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L36" class="LineNr"> 36 </span>    b8/copy-to-EAX  1/imm32/exit
 <span id="L37" class="LineNr"> 37 </span>    cd/syscall  0x80/imm8
 <span id="L38" class="LineNr"> 38 </span>
diff --git a/html/subx/apps/hex.subx.html b/html/subx/apps/hex.subx.html
index cfa2e3cd..763f9999 100644
--- a/html/subx/apps/hex.subx.html
+++ b/html/subx/apps/hex.subx.html
@@ -111,7 +111,7 @@ if ('onhashchange' in window) {
 <span id="L48" class="LineNr">  48 </span><span class="CommentedCode">#?     e8/call test-scan-next-byte-aborts-on-invalid-byte/disp32</span>
 <span id="L49" class="LineNr">  49 </span><span class="CommentedCode">#?     e8/call test-convert-next-octet/disp32</span>
 <span id="L50" class="LineNr">  50 </span>    e8/call  run-tests/disp32
-<span id="L51" class="LineNr">  51 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='../051test.subx.html#L87'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L51" class="LineNr">  51 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/EBX   <span class="SpecialChar"><a href='../051test.subx.html#L90'>Num-test-failures</a></span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L52" class="LineNr">  52 </span>    eb/jump  $main:end/disp8
 <span id="L53" class="LineNr">  53 </span><span class="Constant">$run-main</span>:
 <span id="L54" class="LineNr">  54 </span>    <span class="subxH1Comment"># - otherwise convert stdin</span>
@@ -886,7 +886,7 @@ if ('onhashchange' in window) {
 <span id="L823" class="LineNr"> 823 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L824" class="LineNr"> 824 </span>    <span class="subxS1Comment"># . write(_test-stream, Newline)</span>
 <span id="L825" class="LineNr"> 825 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L826" class="LineNr"> 826 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L826" class="LineNr"> 826 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L827" class="LineNr"> 827 </span>    68/push  <a href='../056write.subx.html#L193'>_test-stream</a>/imm32
 <span id="L828" class="LineNr"> 828 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L829" class="LineNr"> 829 </span>    e8/call  <a href='../056write.subx.html#L31'>write</a>/disp32
@@ -1004,7 +1004,7 @@ if ('onhashchange' in window) {
 <span id="L941" class="LineNr"> 941 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L942" class="LineNr"> 942 </span>    <span class="subxS1Comment"># . write(_test-stream, Newline)</span>
 <span id="L943" class="LineNr"> 943 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L944" class="LineNr"> 944 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L944" class="LineNr"> 944 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L945" class="LineNr"> 945 </span>    68/push  <a href='../056write.subx.html#L193'>_test-stream</a>/imm32
 <span id="L946" class="LineNr"> 946 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L947" class="LineNr"> 947 </span>    e8/call  <a href='../056write.subx.html#L31'>write</a>/disp32
@@ -1122,7 +1122,7 @@ if ('onhashchange' in window) {
 <span id="L1059" class="LineNr">1059 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L1060" class="LineNr">1060 </span>    <span class="subxS1Comment"># . write(_test-stream, Newline)</span>
 <span id="L1061" class="LineNr">1061 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L1062" class="LineNr">1062 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L1062" class="LineNr">1062 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L1063" class="LineNr">1063 </span>    68/push  <a href='../056write.subx.html#L193'>_test-stream</a>/imm32
 <span id="L1064" class="LineNr">1064 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L1065" class="LineNr">1065 </span>    e8/call  <a href='../056write.subx.html#L31'>write</a>/disp32
@@ -1713,7 +1713,7 @@ if ('onhashchange' in window) {
 <span id="L1650" class="LineNr">1650 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L1651" class="LineNr">1651 </span>    <span class="subxS1Comment"># . write(_test-stream, Newline)</span>
 <span id="L1652" class="LineNr">1652 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L1653" class="LineNr">1653 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L81'>Newline</a></span>/imm32
+<span id="L1653" class="LineNr">1653 </span>    68/push  <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32
 <span id="L1654" class="LineNr">1654 </span>    68/push  <a href='../056write.subx.html#L193'>_test-stream</a>/imm32
 <span id="L1655" class="LineNr">1655 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L1656" class="LineNr">1656 </span>    e8/call  <a href='../056write.subx.html#L31'>write</a>/disp32
diff --git a/html/subx/examples/ex1.subx.html b/html/subx/examples/ex1.subx.html
index 4a3c685b..b4bb151b 100644
--- a/html/subx/examples/ex1.subx.html
+++ b/html/subx/examples/ex1.subx.html
@@ -56,8 +56,8 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># Just return 42.</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment">#</span>
 <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx translate examples/ex1.2.subx -o examples/ex1</span>
-<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   $ subx run examples/ex1</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx translate examples/ex1.2.subx -o examples/ex1</span>
+<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   $ ./subx run examples/ex1</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># Expected result:</span>
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L9" class="LineNr"> 9 </span><span class="subxComment">#   42</span>
diff --git a/html/subx/examples/ex10.subx.html b/html/subx/examples/ex10.subx.html
index 3b6ab07e..329f698d 100644
--- a/html/subx/examples/ex10.subx.html
+++ b/html/subx/examples/ex10.subx.html
@@ -59,8 +59,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># String comparison: return 1 iff the two args passed in at the commandline are equal.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex10.subx -o examples/ex10</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex10 abc abd</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex10.subx -o examples/ex10</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex10 abc abd</span>
 <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># Expected result:</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   0  # false</span>
diff --git a/html/subx/examples/ex11.subx.html b/html/subx/examples/ex11.subx.html
index 5b7807aa..30b462f4 100644
--- a/html/subx/examples/ex11.subx.html
+++ b/html/subx/examples/ex11.subx.html
@@ -67,8 +67,8 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr">  6 </span><span class="subxComment"># a null-terminated 'kernel string' with a length-prefixed 'SubX string'.</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L9" class="LineNr">  9 </span><span class="subxComment">#   $ subx translate examples/ex11.subx -o examples/ex11</span>
-<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ subx run examples/ex11  # runs a series of tests</span>
+<span id="L9" class="LineNr">  9 </span><span class="subxComment">#   $ ./subx translate examples/ex11.subx -o examples/ex11</span>
+<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ ./subx run examples/ex11  # runs a series of tests</span>
 <span id="L11" class="LineNr"> 11 </span><span class="subxComment">#   ......  # all tests pass</span>
 <span id="L12" class="LineNr"> 12 </span><span class="subxComment">#</span>
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment"># (We can't yet run the tests when given a &quot;test&quot; commandline argument,</span>
diff --git a/html/subx/examples/ex12.subx.html b/html/subx/examples/ex12.subx.html
index 60eb5b06..e6c1470a 100644
--- a/html/subx/examples/ex12.subx.html
+++ b/html/subx/examples/ex12.subx.html
@@ -59,8 +59,8 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># Create a new segment using mmap, save the address, write to it.</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment">#</span>
 <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx translate examples/ex12.subx -o examples/ex12</span>
-<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   $ subx run examples/ex12</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx translate examples/ex12.subx -o examples/ex12</span>
+<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   $ ./subx run examples/ex12</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># You shouldn't get a segmentation fault.</span>
 <span id="L8" class="LineNr"> 8 </span>
 <span id="L9" class="LineNr"> 9 </span>== code
diff --git a/html/subx/examples/ex2.subx.html b/html/subx/examples/ex2.subx.html
index 5a4eb9dd..a7c19e82 100644
--- a/html/subx/examples/ex2.subx.html
+++ b/html/subx/examples/ex2.subx.html
@@ -55,8 +55,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Add 1 and 1, and return the result in the exit code.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex2.subx -o examples/ex2</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex2</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex2.subx -o examples/ex2</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex2</span>
 <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># Expected result:</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   2</span>
diff --git a/html/subx/examples/ex3.subx.html b/html/subx/examples/ex3.subx.html
index 1d06a94d..655f9fbf 100644
--- a/html/subx/examples/ex3.subx.html
+++ b/html/subx/examples/ex3.subx.html
@@ -58,8 +58,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Add the first 10 numbers, and return the result in the exit code.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex3.subx -o examples/ex3</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex3</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex3.subx -o examples/ex3</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex3</span>
 <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># Expected result:</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   55</span>
diff --git a/html/subx/examples/ex4.subx.html b/html/subx/examples/ex4.subx.html
index d4cb221e..21d9c19d 100644
--- a/html/subx/examples/ex4.subx.html
+++ b/html/subx/examples/ex4.subx.html
@@ -57,8 +57,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Read a character from stdin, save it to a global, write it to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex4.subx -o examples/ex4</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex4</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex4.subx -o examples/ex4</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex4</span>
 <span id="L6" class="LineNr"> 6 </span>
 <span id="L7" class="LineNr"> 7 </span>== code
 <span id="L8" class="LineNr"> 8 </span>
diff --git a/html/subx/examples/ex5.subx.html b/html/subx/examples/ex5.subx.html
index 1b6a4db8..9dd1a45e 100644
--- a/html/subx/examples/ex5.subx.html
+++ b/html/subx/examples/ex5.subx.html
@@ -57,8 +57,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Read a character from stdin, save it to a local on the stack, write it to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex5.subx -o examples/ex5</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex5</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex5.subx -o examples/ex5</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex5</span>
 <span id="L6" class="LineNr"> 6 </span>
 <span id="L7" class="LineNr"> 7 </span>== code
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   instruction                     effective address                                                   register    displacement    immediate</span>
diff --git a/html/subx/examples/ex6.subx.html b/html/subx/examples/ex6.subx.html
index b6a36df8..e06a0885 100644
--- a/html/subx/examples/ex6.subx.html
+++ b/html/subx/examples/ex6.subx.html
@@ -58,8 +58,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Print out a (global variable) string to stdout.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex6.subx -o examples/ex6</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex6</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex6.subx -o examples/ex6</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex6</span>
 <span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   Hello, world!</span>
 <span id="L7" class="LineNr"> 7 </span>
 <span id="L8" class="LineNr"> 8 </span>== code
diff --git a/html/subx/examples/ex7.subx.html b/html/subx/examples/ex7.subx.html
index 164701ab..942b9ab2 100644
--- a/html/subx/examples/ex7.subx.html
+++ b/html/subx/examples/ex7.subx.html
@@ -62,8 +62,8 @@ if ('onhashchange' in window) {
 <span id="L5" class="LineNr">  5 </span><span class="subxComment"># the character read.</span>
 <span id="L6" class="LineNr">  6 </span><span class="subxComment">#</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L8" class="LineNr">  8 </span><span class="subxComment">#   $ subx translate examples/ex7.subx -o examples/ex7</span>
-<span id="L9" class="LineNr">  9 </span><span class="subxComment">#   $ subx run examples/ex7</span>
+<span id="L8" class="LineNr">  8 </span><span class="subxComment">#   $ ./subx translate examples/ex7.subx -o examples/ex7</span>
+<span id="L9" class="LineNr">  9 </span><span class="subxComment">#   $ ./subx run examples/ex7</span>
 <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># Expected result:</span>
 <span id="L11" class="LineNr"> 11 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L12" class="LineNr"> 12 </span><span class="subxComment">#   97</span>
diff --git a/html/subx/examples/ex8.subx.html b/html/subx/examples/ex8.subx.html
index 5990b476..cadea305 100644
--- a/html/subx/examples/ex8.subx.html
+++ b/html/subx/examples/ex8.subx.html
@@ -59,8 +59,8 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Example reading commandline arguments: compute length of first arg.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ subx translate examples/ex8.subx -o examples/ex8</span>
-<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ subx run examples/ex8 abc de fghi</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate examples/ex8.subx -o examples/ex8</span>
+<span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run examples/ex8 abc de fghi</span>
 <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># Expected result:</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   3  # length of 'abc'</span>
diff --git a/html/subx/examples/ex9.subx.html b/html/subx/examples/ex9.subx.html
index 1c654479..dfe0a8ba 100644
--- a/html/subx/examples/ex9.subx.html
+++ b/html/subx/examples/ex9.subx.html
@@ -61,8 +61,8 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># letter of second arg.</span>
 <span id="L5" class="LineNr"> 5 </span><span class="subxComment">#</span>
 <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># To run (from the subx directory):</span>
-<span id="L7" class="LineNr"> 7 </span><span class="subxComment">#   $ subx translate examples/ex9.subx -o examples/ex9</span>
-<span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   $ subx run examples/ex9 z x</span>
+<span id="L7" class="LineNr"> 7 </span><span class="subxComment">#   $ ./subx translate examples/ex9.subx -o examples/ex9</span>
+<span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   $ ./subx run examples/ex9 z x</span>
 <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># Expected result:</span>
 <span id="L10" class="LineNr">10 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L11" class="LineNr">11 </span><span class="subxComment">#   2</span>