diff options
Diffstat (limited to 'html/linux/apps/ex11.subx.html')
-rw-r--r-- | html/linux/apps/ex11.subx.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/html/linux/apps/ex11.subx.html b/html/linux/apps/ex11.subx.html index f101f852..165ebbe3 100644 --- a/html/linux/apps/ex11.subx.html +++ b/html/linux/apps/ex11.subx.html @@ -14,17 +14,17 @@ pre { font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } +.subxH1Comment { color: #005faf; text-decoration: underline; } .subxComment { color: #005faf; } +.subxS1Comment { color: #0000af; } .subxS2Comment { color: #8a8a8a; } .LineNr { } -.subxFunction { color: #af5f00; text-decoration: underline; } -.subxS1Comment { color: #0000af; } +.subxMinorFunction { color: #875f5f; } .Constant { color: #008787; } +.subxTest { color: #5f8700; } .SpecialChar { color: #d70000; } .Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } -.subxMinorFunction { color: #875f5f; } -.subxTest { color: #5f8700; } -.subxH1Comment { color: #005faf; text-decoration: underline; } +.subxFunction { color: #af5f00; text-decoration: underline; } --> </style> @@ -68,8 +68,8 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># a null-terminated 'kernel string' with a size-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:</span> -<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ bootstrap/bootstrap translate apps/ex11.subx -o ex11</span> -<span id="L10" class="LineNr"> 10 </span><span class="subxComment"># $ bootstrap/bootstrap run ex11 # runs a series of tests</span> +<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ ./translate_subx 000init.subx apps/ex11.subx</span> +<span id="L10" class="LineNr"> 10 </span><span class="subxComment"># $ ./a.elf # 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 "test" commandline argument,</span> @@ -378,7 +378,7 @@ if ('onhashchange' in window) { <span id="L316" class="LineNr">316 </span> 51/push-ecx <span id="L317" class="LineNr">317 </span> 52/push-edx <span id="L318" class="LineNr">318 </span> 53/push-ebx -<span id="L319" class="LineNr">319 </span> <span class="subxComment"># syscall(write, 2/stderr, (data) s+4, (size) *s)</span> +<span id="L319" class="LineNr">319 </span> <span class="subxComment"># syscall_write(2/stderr, (data) s+4, (size) *s)</span> <span id="L320" class="LineNr">320 </span> <span class="subxS2Comment"># . . fd = 2 (stderr)</span> <span id="L321" class="LineNr">321 </span> bb/copy-to-ebx 2/imm32 <span id="L322" class="LineNr">322 </span> <span class="subxS2Comment"># . . x = s+4</span> |