about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-01 12:44:10 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-01 12:44:10 -0800
commit54e5128a14dcea5b93a8a9402558f0736fb7dba3 (patch)
tree5345257cd4fb5745882833d47ecb1261ac7de332
parentc7d45d918ba631c81aaaa84890287d8f9df5bdf5 (diff)
downloadmu-54e5128a14dcea5b93a8a9402558f0736fb7dba3.tar.gz
4813
-rw-r--r--html/subx/apps/crenshaw2-1.subx.html4
-rw-r--r--html/subx/apps/crenshaw2-1b.subx.html4
-rw-r--r--subx/apps/crenshaw2-1.subx2
-rw-r--r--subx/apps/crenshaw2-1b.subx2
4 files changed, 6 insertions, 6 deletions
diff --git a/html/subx/apps/crenshaw2-1.subx.html b/html/subx/apps/crenshaw2-1.subx.html
index 37ea2738..348defea 100644
--- a/html/subx/apps/crenshaw2-1.subx.html
+++ b/html/subx/apps/crenshaw2-1.subx.html
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># except that we support hex digits.</span>
 <span id="L4" class="LineNr">  4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment"># To run (from the subx/ directory):</span>
-<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate *.subx apps/crenshaw2-1.subx -o crenshaw2-1</span>
+<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate *.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   $ echo '3'  |./subx run apps/crenshaw2-1</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">  9 </span><span class="subxComment">#   # syscall(exit, 3)</span>
@@ -140,7 +140,7 @@ if ('onhashchange' in window) {
 <span id="L78" class="LineNr"> 78 </span>    cd/syscall  0x80/imm8
 <span id="L79" class="LineNr"> 79 </span>
 <span id="L80" class="LineNr"> 80 </span><span class="subxComment"># the main entry point</span>
-<span id="L81" class="LineNr"> 81 </span>compile:  <span class="subxComment"># in : fd or (address stream), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -&gt; &lt;void&gt;</span>
+<span id="L81" class="LineNr"> 81 </span>compile:  <span class="subxComment"># in : (address buffered-file), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -&gt; &lt;void&gt;</span>
 <span id="L82" class="LineNr"> 82 </span>    <span class="subxS1Comment"># . prolog</span>
 <span id="L83" class="LineNr"> 83 </span>    55/push-EBP
 <span id="L84" class="LineNr"> 84 </span>    89/copy                         3/mod/direct    5/rm32/EBP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          4/r32/ESP  <span class="CommentedCode"> . </span>             <span class="CommentedCode"> . </span>                <span class="subxComment"># copy ESP to EBP</span>
diff --git a/html/subx/apps/crenshaw2-1b.subx.html b/html/subx/apps/crenshaw2-1b.subx.html
index 20439c1a..d6e00742 100644
--- a/html/subx/apps/crenshaw2-1b.subx.html
+++ b/html/subx/apps/crenshaw2-1b.subx.html
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># except that we support hex numbers of multiple digits.</span>
 <span id="L4" class="LineNr">  4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment"># To run (from the subx/ directory):</span>
-<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate *.subx apps/crenshaw2-1b.subx -o crenshaw2-1b</span>
+<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate *.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   $ echo '1a'  |./subx run apps/crenshaw2-1b</span>
 <span id="L8" class="LineNr">  8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">  9 </span><span class="subxComment">#   # syscall(exit, 1a)</span>
@@ -140,7 +140,7 @@ if ('onhashchange' in window) {
 <span id="L78" class="LineNr"> 78 </span>    cd/syscall  0x80/imm8
 <span id="L79" class="LineNr"> 79 </span>
 <span id="L80" class="LineNr"> 80 </span><span class="subxComment"># the main entry point</span>
-<span id="L81" class="LineNr"> 81 </span>compile:  <span class="subxComment"># in : fd or (address stream), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -&gt; &lt;void&gt;</span>
+<span id="L81" class="LineNr"> 81 </span>compile:  <span class="subxComment"># in : (address buffered-file), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -&gt; &lt;void&gt;</span>
 <span id="L82" class="LineNr"> 82 </span>    <span class="subxS1Comment"># . prolog</span>
 <span id="L83" class="LineNr"> 83 </span>    55/push-EBP
 <span id="L84" class="LineNr"> 84 </span>    89/copy                         3/mod/direct    5/rm32/EBP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          4/r32/ESP  <span class="CommentedCode"> . </span>             <span class="CommentedCode"> . </span>                <span class="subxComment"># copy ESP to EBP</span>
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index d29671da..b202f25f 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -78,7 +78,7 @@ $main:end:
     cd/syscall  0x80/imm8
 
 # the main entry point
-compile:  # in : fd or (address stream), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -> <void>
+compile:  # in : (address buffered-file), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -> <void>
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx
index a2c48fa1..a3c56ed5 100644
--- a/subx/apps/crenshaw2-1b.subx
+++ b/subx/apps/crenshaw2-1b.subx
@@ -78,7 +78,7 @@ $main:end:
     cd/syscall  0x80/imm8
 
 # the main entry point
-compile:  # in : fd or (address stream), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -> <void>
+compile:  # in : (address buffered-file), out : fd or (address stream), err : fd or (address stream), ed : (address exit-descriptor) -> <void>
     # . prolog
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP