about summary refs log tree commit diff stats
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/apps/assort.subx.html2
-rw-r--r--html/apps/calls.subx.html2
-rw-r--r--html/apps/crenshaw2-1.subx.html4
-rw-r--r--html/apps/crenshaw2-1b.subx.html4
-rw-r--r--html/apps/dquotes.subx.html2
-rw-r--r--html/apps/factorial.subx.html2
-rw-r--r--html/apps/handle.subx.html2
-rw-r--r--html/apps/hex.subx.html2
-rw-r--r--html/apps/mulisp.subx.html2
-rw-r--r--html/apps/pack.subx.html2
-rw-r--r--html/apps/random.subx.html2
-rw-r--r--html/apps/sigils.subx.html2
-rw-r--r--html/apps/survey.subx.html4
-rw-r--r--html/apps/tests.subx.html2
14 files changed, 17 insertions, 17 deletions
diff --git a/html/apps/assort.subx.html b/html/apps/assort.subx.html
index 80e53122..4e7ca431 100644
--- a/html/apps/assort.subx.html
+++ b/html/apps/assort.subx.html
@@ -69,7 +69,7 @@ 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 0*.subx apps/subx-common.subx apps/assort.subx  -o apps/assort</span>
+<span id="L10" class="LineNr"> 10 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.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>
diff --git a/html/apps/calls.subx.html b/html/apps/calls.subx.html
index 707593ec..0840478d 100644
--- a/html/apps/calls.subx.html
+++ b/html/apps/calls.subx.html
@@ -62,7 +62,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">   1 </span><span class="subxComment"># Function calls in a single line.</span>
 <span id="L2" class="LineNr">   2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># To run (on Linux):</span>
-<span id="L4" class="LineNr">   4 </span><span class="subxComment">#   $ ./ntranslate 0*.subx apps/subx-common.subx apps/calls.subx</span>
+<span id="L4" class="LineNr">   4 </span><span class="subxComment">#   $ ./ntranslate init.linux 0*.subx apps/subx-common.subx apps/calls.subx</span>
 <span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ mv a.elf apps/calls</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ chmod +x apps/calls</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#</span>
diff --git a/html/apps/crenshaw2-1.subx.html b/html/apps/crenshaw2-1.subx.html
index 088f2973..c43092d9 100644
--- a/html/apps/crenshaw2-1.subx.html
+++ b/html/apps/crenshaw2-1.subx.html
@@ -64,7 +64,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:</span>
-<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1</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="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>
@@ -74,7 +74,7 @@ if ('onhashchange' in window) {
 <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 &gt; z1.subx</span>
-<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate z1.subx -o z1</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="L18" class="LineNr"> 18 </span><span class="subxComment">#   $ echo $?</span>
 <span id="L19" class="LineNr"> 19 </span><span class="subxComment">#   3</span>
diff --git a/html/apps/crenshaw2-1b.subx.html b/html/apps/crenshaw2-1b.subx.html
index 4918134a..ee008c8a 100644
--- a/html/apps/crenshaw2-1b.subx.html
+++ b/html/apps/crenshaw2-1b.subx.html
@@ -64,7 +64,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:</span>
-<span id="L6" class="LineNr">  6 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b</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="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>
@@ -74,7 +74,7 @@ if ('onhashchange' in window) {
 <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 &gt; z1.subx</span>
-<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate z1.subx -o z1</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="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>
diff --git a/html/apps/dquotes.subx.html b/html/apps/dquotes.subx.html
index 64ca241a..4cbe96b2 100644
--- a/html/apps/dquotes.subx.html
+++ b/html/apps/dquotes.subx.html
@@ -65,7 +65,7 @@ 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 0*.subx apps/subx-common.subx apps/dquotes.subx  -o apps/dquotes</span>
+<span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.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 &quot;cd ef&quot;/imm32</span>
diff --git a/html/apps/factorial.subx.html b/html/apps/factorial.subx.html
index 1c8d35b7..a5750aef 100644
--- a/html/apps/factorial.subx.html
+++ b/html/apps/factorial.subx.html
@@ -62,7 +62,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">  1 </span><span class="subxComment">## compute the factorial of 5, 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:</span>
-<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/factorial.subx -o apps/factorial</span>
+<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/factorial.subx -o apps/factorial</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./subx run apps/factorial</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>
diff --git a/html/apps/handle.subx.html b/html/apps/handle.subx.html
index e6a85e29..b7a0dfdf 100644
--- a/html/apps/handle.subx.html
+++ b/html/apps/handle.subx.html
@@ -76,7 +76,7 @@ if ('onhashchange' in window) {
 <span id="L13" class="LineNr"> 13 </span><span class="subxComment">#   offset 4: address</span>
 <span id="L14" class="LineNr"> 14 </span><span class="subxComment">#</span>
 <span id="L15" class="LineNr"> 15 </span><span class="subxComment"># To run:</span>
-<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/handle.subx -o apps/handle</span>
+<span id="L16" class="LineNr"> 16 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/handle.subx -o apps/handle</span>
 <span id="L17" class="LineNr"> 17 </span><span class="subxComment">#   $ ./subx run apps/handle</span>
 <span id="L18" class="LineNr"> 18 </span><span class="subxComment"># Expected result is a successful lookup followed by a hard abort:</span>
 <span id="L19" class="LineNr"> 19 </span><span class="subxComment">#   lookup succeeded</span>
diff --git a/html/apps/hex.subx.html b/html/apps/hex.subx.html
index d8a455e4..e0e3ecf8 100644
--- a/html/apps/hex.subx.html
+++ b/html/apps/hex.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># comments between '#' and newline.</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 0*.subx apps/subx-common.subx apps/hex.subx  -o apps/hex</span>
+<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/hex.subx  -o apps/hex</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#   $ echo '80 81 82  # comment'  |./subx run apps/hex  |xxd -</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#   00000000: 8081 82</span>
diff --git a/html/apps/mulisp.subx.html b/html/apps/mulisp.subx.html
index 7976b071..65897af7 100644
--- a/html/apps/mulisp.subx.html
+++ b/html/apps/mulisp.subx.html
@@ -58,7 +58,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr">  1 </span><span class="subxComment"># Toy lisp interpreter</span>
 <span id="L2" class="LineNr">  2 </span><span class="subxComment">#</span>
 <span id="L3" class="LineNr">  3 </span><span class="subxComment"># To run:</span>
-<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./ntranslate 0*.subx apps/subx-common.subx apps/mulisp.subx</span>
+<span id="L4" class="LineNr">  4 </span><span class="subxComment">#   $ ./ntranslate init.linux 0*.subx apps/subx-common.subx apps/mulisp.subx</span>
 <span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./a.elf</span>
 <span id="L6" class="LineNr">  6 </span><span class="subxComment">#   42</span>
 <span id="L7" class="LineNr">  7 </span><span class="subxComment">#   =&gt; 42</span>
diff --git a/html/apps/pack.subx.html b/html/apps/pack.subx.html
index f8caafb6..05b04d4d 100644
--- a/html/apps/pack.subx.html
+++ b/html/apps/pack.subx.html
@@ -65,7 +65,7 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># uses are left untouched.</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 0*.subx apps/subx-common.subx apps/pack.subx  -o apps/pack</span>
+<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/pack.subx  -o apps/pack</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment">#   $ echo '05/add-to-eax 0x20/imm32'  |./subx run apps/pack</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#   05 20 00 00 00  # 05/add-to-eax 0x20/imm32</span>
diff --git a/html/apps/random.subx.html b/html/apps/random.subx.html
index 22efb051..362208ed 100644
--- a/html/apps/random.subx.html
+++ b/html/apps/random.subx.html
@@ -59,7 +59,7 @@ if ('onhashchange' in window) {
 <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Repeatedly read 32-bit numbers from /dev/random, print them 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:</span>
-<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/random.subx -o apps/random</span>
+<span id="L4" class="LineNr"> 4 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/random.subx -o apps/random</span>
 <span id="L5" class="LineNr"> 5 </span><span class="subxComment">#   $ ./subx run apps/random</span>
 <span id="L6" class="LineNr"> 6 </span>
 <span id="L7" class="LineNr"> 7 </span>== code 0x09000000
diff --git a/html/apps/sigils.subx.html b/html/apps/sigils.subx.html
index 125a1d38..a243b945 100644
--- a/html/apps/sigils.subx.html
+++ b/html/apps/sigils.subx.html
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr">   2 </span><span class="subxComment"># other related arguments.</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 0*.subx apps/subx-common.subx apps/sigils.subx  -o apps/sigils</span>
+<span id="L5" class="LineNr">   5 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/sigils.subx  -o apps/sigils</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment"># We currently support the following notations:</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment">#</span>
diff --git a/html/apps/survey.subx.html b/html/apps/survey.subx.html
index b83ec98d..c8a14067 100644
--- a/html/apps/survey.subx.html
+++ b/html/apps/survey.subx.html
@@ -68,7 +68,7 @@ if ('onhashchange' in window) {
 <span id="L5" class="LineNr">   5 </span><span class="subxComment">#   b) add segment headers with addresses and offsets correctly filled in</span>
 <span id="L6" class="LineNr">   6 </span><span class="subxComment">#</span>
 <span id="L7" class="LineNr">   7 </span><span class="subxComment"># To build:</span>
-<span id="L8" class="LineNr">   8 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/survey.subx  -o apps/survey</span>
+<span id="L8" class="LineNr">   8 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/survey.subx  -o apps/survey</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#</span>
 <span id="L10" class="LineNr">  10 </span><span class="subxComment"># The expected input is a stream of bytes with segment headers, comments and</span>
 <span id="L11" class="LineNr">  11 </span><span class="subxComment"># some interspersed labels.</span>
@@ -1463,7 +1463,7 @@ if ('onhashchange' in window) {
 <span id="L1994" class="LineNr">1994 </span>    <span class="subxComment">#           abort</span>
 <span id="L1995" class="LineNr">1995 </span>    <span class="subxComment">#         if has-metadata?(word-slice, &quot;imm8&quot;)</span>
 <span id="L1996" class="LineNr">1996 </span>    <span class="subxComment">#           abort</span>
-<span id="L1997" class="LineNr">1997 </span>    <span class="subxComment">#         emit(out, info-&gt;address, 4)  # global variables always translate to absolute addresses</span>
+<span id="L1997" class="LineNr">1997 </span>    <span class="subxComment">#         emit(out, info-&gt;address, 4)  # global variables always translate init.linux to absolute addresses</span>
 <span id="L1998" class="LineNr">1998 </span>    <span class="subxComment">#       # code segment cases</span>
 <span id="L1999" class="LineNr">1999 </span>    <span class="subxComment">#       else if has-metadata?(word-slice, &quot;imm8&quot;)</span>
 <span id="L2000" class="LineNr">2000 </span>    <span class="subxComment">#         abort  # label should never go to imm8</span>
diff --git a/html/apps/tests.subx.html b/html/apps/tests.subx.html
index 16270e28..71bf163f 100644
--- a/html/apps/tests.subx.html
+++ b/html/apps/tests.subx.html
@@ -62,7 +62,7 @@ if ('onhashchange' in window) {
 <span id="L2" class="LineNr">  2 </span><span class="subxComment"># all functions starting with 'test-'.</span>
 <span id="L3" class="LineNr">  3 </span><span class="subxComment">#</span>
 <span id="L4" class="LineNr">  4 </span><span class="subxComment"># To build:</span>
-<span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./subx translate 0*.subx apps/subx-common.subx apps/tests.subx  -o apps/tests</span>
+<span id="L5" class="LineNr">  5 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/tests.subx  -o apps/tests</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>