diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-06 18:39:16 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-06 18:39:16 -0800 |
commit | ee0e67b9d7c275480827d856b926d2c403057bb8 (patch) | |
tree | 4c64d0b7bd4f25292fa73868a7ad3a7820ae4644 /html/apps/*.subx.html | |
parent | 8f256f1f2ee6a2a49816dd23d26cd120f526bf0b (diff) | |
download | mu-ee0e67b9d7c275480827d856b926d2c403057bb8.tar.gz |
6091
Diffstat (limited to 'html/apps/*.subx.html')
-rw-r--r-- | html/apps/assort.subx.html | 4 | ||||
-rw-r--r-- | html/apps/crenshaw2-1.subx.html | 12 | ||||
-rw-r--r-- | html/apps/crenshaw2-1b.subx.html | 12 | ||||
-rw-r--r-- | html/apps/dquotes.subx.html | 4 |
4 files changed, 16 insertions, 16 deletions
diff --git a/html/apps/assort.subx.html b/html/apps/assort.subx.html index 23f49434..efb6a8f2 100644 --- a/html/apps/assort.subx.html +++ b/html/apps/assort.subx.html @@ -69,13 +69,13 @@ if ('onhashchange' in window) { <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># because we don't know if they refer to the line above or the line below.</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># To run:</span> -<span id="L10" class="LineNr"> 10 </span><span class="subxComment"># $ ./subx translate init.linux 0*.subx apps/subx-params.subx apps/assort.subx -o apps/assort</span> +<span id="L10" class="LineNr"> 10 </span><span class="subxComment"># $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/assort.subx -o apps/assort</span> <span id="L11" class="LineNr"> 11 </span><span class="subxComment"># $ cat x</span> <span id="L12" class="LineNr"> 12 </span><span class="subxComment"># == code</span> <span id="L13" class="LineNr"> 13 </span><span class="subxComment"># abc</span> <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># == code</span> <span id="L15" class="LineNr"> 15 </span><span class="subxComment"># def</span> -<span id="L16" class="LineNr"> 16 </span><span class="subxComment"># $ cat x |./subx run apps/assort</span> +<span id="L16" class="LineNr"> 16 </span><span class="subxComment"># $ cat x |./bootstrap run apps/assort</span> <span id="L17" class="LineNr"> 17 </span><span class="subxComment"># == code</span> <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># abc</span> <span id="L19" class="LineNr"> 19 </span><span class="subxComment"># def</span> diff --git a/html/apps/crenshaw2-1.subx.html b/html/apps/crenshaw2-1.subx.html index 1c9ae904..42bfe4d6 100644 --- a/html/apps/crenshaw2-1.subx.html +++ b/html/apps/crenshaw2-1.subx.html @@ -64,8 +64,8 @@ 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:</span> -<span id="L6" class="LineNr"> 6 </span><span class="subxComment"># $ ./subx translate init.linux 0*.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="L6" class="LineNr"> 6 </span><span class="subxComment"># $ ./bootstrap translate init.linux 0*.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1</span> +<span id="L7" class="LineNr"> 7 </span><span class="subxComment"># $ echo '3' |./bootstrap 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> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># bb/copy-to-ebx 3/imm32</span> @@ -73,14 +73,14 @@ if ('onhashchange' in window) { <span id="L12" class="LineNr"> 12 </span><span class="subxComment"># cd/syscall 0x80/imm8</span> <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#</span> <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># To run the generated output:</span> -<span id="L15" class="LineNr"> 15 </span><span class="subxComment"># $ echo '3' |./subx run apps/crenshaw2-1 > z1.subx</span> -<span id="L16" class="LineNr"> 16 </span><span class="subxComment"># $ ./subx translate init.linux z1.subx -o z1</span> -<span id="L17" class="LineNr"> 17 </span><span class="subxComment"># $ ./subx run z1</span> +<span id="L15" class="LineNr"> 15 </span><span class="subxComment"># $ echo '3' |./bootstrap run apps/crenshaw2-1 > z1.subx</span> +<span id="L16" class="LineNr"> 16 </span><span class="subxComment"># $ ./bootstrap translate init.linux z1.subx -o z1</span> +<span id="L17" class="LineNr"> 17 </span><span class="subxComment"># $ ./bootstrap run z1</span> <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># $ echo $?</span> <span id="L19" class="LineNr"> 19 </span><span class="subxComment"># 3</span> <span id="L20" class="LineNr"> 20 </span><span class="subxComment">#</span> <span id="L21" class="LineNr"> 21 </span><span class="subxComment"># Stdin must contain just a single hex digit. Other input will print an error:</span> -<span id="L22" class="LineNr"> 22 </span><span class="subxComment"># $ echo 'xyz' |./subx run apps/crenshaw2-1</span> +<span id="L22" class="LineNr"> 22 </span><span class="subxComment"># $ echo 'xyz' |./bootstrap run apps/crenshaw2-1</span> <span id="L23" class="LineNr"> 23 </span><span class="subxComment"># Error: integer expected</span> <span id="L24" class="LineNr"> 24 </span><span class="subxComment">#</span> <span id="L25" class="LineNr"> 25 </span><span class="subxComment"># Names in this file sometimes follow Crenshaw's original rather than my usual</span> diff --git a/html/apps/crenshaw2-1b.subx.html b/html/apps/crenshaw2-1b.subx.html index 01b29a6a..67c8891f 100644 --- a/html/apps/crenshaw2-1b.subx.html +++ b/html/apps/crenshaw2-1b.subx.html @@ -64,8 +64,8 @@ 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:</span> -<span id="L6" class="LineNr"> 6 </span><span class="subxComment"># $ ./subx translate init.linux 0*.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="L6" class="LineNr"> 6 </span><span class="subxComment"># $ ./bootstrap translate init.linux 0*.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b</span> +<span id="L7" class="LineNr"> 7 </span><span class="subxComment"># $ echo '1a' |./bootstrap 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> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># bb/copy-to-ebx 3/imm32</span> @@ -73,14 +73,14 @@ if ('onhashchange' in window) { <span id="L12" class="LineNr"> 12 </span><span class="subxComment"># cd/syscall 0x80/imm8</span> <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#</span> <span id="L14" class="LineNr"> 14 </span><span class="subxComment"># To run the generated output:</span> -<span id="L15" class="LineNr"> 15 </span><span class="subxComment"># $ echo '1a' |./subx run apps/crenshaw2-1b > z1.subx</span> -<span id="L16" class="LineNr"> 16 </span><span class="subxComment"># $ ./subx translate init.linux z1.subx -o z1</span> -<span id="L17" class="LineNr"> 17 </span><span class="subxComment"># $ ./subx run z1</span> +<span id="L15" class="LineNr"> 15 </span><span class="subxComment"># $ echo '1a' |./bootstrap run apps/crenshaw2-1b > z1.subx</span> +<span id="L16" class="LineNr"> 16 </span><span class="subxComment"># $ ./bootstrap translate init.linux z1.subx -o z1</span> +<span id="L17" class="LineNr"> 17 </span><span class="subxComment"># $ ./bootstrap run z1</span> <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># $ echo $?</span> <span id="L19" class="LineNr"> 19 </span><span class="subxComment"># 26 # 0x1a in decimal</span> <span id="L20" class="LineNr"> 20 </span><span class="subxComment">#</span> <span id="L21" class="LineNr"> 21 </span><span class="subxComment"># Stdin must contain just a single hex digit. Other input will print an error:</span> -<span id="L22" class="LineNr"> 22 </span><span class="subxComment"># $ echo 'xyz' |./subx run apps/crenshaw2-1b</span> +<span id="L22" class="LineNr"> 22 </span><span class="subxComment"># $ echo 'xyz' |./bootstrap run apps/crenshaw2-1b</span> <span id="L23" class="LineNr"> 23 </span><span class="subxComment"># Error: integer expected</span> <span id="L24" class="LineNr"> 24 </span><span class="subxComment">#</span> <span id="L25" class="LineNr"> 25 </span><span class="subxComment"># Names in this file sometimes follow Crenshaw's original rather than my usual</span> diff --git a/html/apps/dquotes.subx.html b/html/apps/dquotes.subx.html index 43be5025..1636fde6 100644 --- a/html/apps/dquotes.subx.html +++ b/html/apps/dquotes.subx.html @@ -65,11 +65,11 @@ if ('onhashchange' in window) { <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># Replace them with references to new variables in the data segment.</span> <span id="L3" class="LineNr"> 3 </span><span class="subxComment">#</span> <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># To run:</span> -<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># $ ./subx translate init.linux 0*.subx apps/subx-params.subx apps/dquotes.subx -o apps/dquotes</span> +<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/dquotes.subx -o apps/dquotes</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># $ cat x</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># == code</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># ab "cd ef"/imm32</span> -<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ cat x |./subx run apps/dquotes</span> +<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ cat x |./bootstrap run apps/dquotes</span> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># == code</span> <span id="L11" class="LineNr"> 11 </span><span class="subxComment"># ab __string1/imm32</span> <span id="L12" class="LineNr"> 12 </span><span class="subxComment"># == data</span> |