diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-01 12:44:10 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-01 12:44:10 -0800 |
commit | 54e5128a14dcea5b93a8a9402558f0736fb7dba3 (patch) | |
tree | 5345257cd4fb5745882833d47ecb1261ac7de332 /html | |
parent | c7d45d918ba631c81aaaa84890287d8f9df5bdf5 (diff) | |
download | mu-54e5128a14dcea5b93a8a9402558f0736fb7dba3.tar.gz |
4813
Diffstat (limited to 'html')
-rw-r--r-- | html/subx/apps/crenshaw2-1.subx.html | 4 | ||||
-rw-r--r-- | html/subx/apps/crenshaw2-1b.subx.html | 4 |
2 files changed, 4 insertions, 4 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) -> <void></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) -> <void></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) -> <void></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) -> <void></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> |