diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-30 01:42:06 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-30 01:42:06 -0800 |
commit | ebd355215059d07c5830a5aeb165376b7cb757e1 (patch) | |
tree | dbcc52a96224033b9f4053007f03c9fea5c95ccb /html/subx/052kernel_string_equal.subx.html | |
parent | 395b3ffbebb4656fdc5096887bc1ca7df5180da3 (diff) | |
download | mu-ebd355215059d07c5830a5aeb165376b7cb757e1.tar.gz |
4895
Diffstat (limited to 'html/subx/052kernel_string_equal.subx.html')
-rw-r--r-- | html/subx/052kernel_string_equal.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/subx/052kernel_string_equal.subx.html b/html/subx/052kernel_string_equal.subx.html index 30f6ea41..e620ab08 100644 --- a/html/subx/052kernel_string_equal.subx.html +++ b/html/subx/052kernel_string_equal.subx.html @@ -67,8 +67,8 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># a null-terminated 'kernel string' with a length-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 (from the subx directory):</span> -<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ subx translate 05[0-2]*.subx -o /tmp/tmp52</span> -<span id="L10" class="LineNr"> 10 </span><span class="subxComment"># $ subx run /tmp/tmp52 # runs a series of tests</span> +<span id="L9" class="LineNr"> 9 </span><span class="subxComment"># $ ./subx translate 05[0-2]*.subx -o /tmp/tmp52</span> +<span id="L10" class="LineNr"> 10 </span><span class="subxComment"># $ ./subx run /tmp/tmp52 # 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> @@ -83,7 +83,7 @@ if ('onhashchange' in window) { <span id="L22" class="LineNr"> 22 </span><span class="subxComment"># main:</span> <span id="L23" class="LineNr"> 23 </span> e8/call run-tests/disp32 <span class="subxComment"># 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'.</span> <span id="L24" class="LineNr"> 24 </span> <span class="subxComment"># syscall(exit, Num-test-failures)</span> -<span id="L25" class="LineNr"> 25 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 3/r32/EBX <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32 <span class="subxComment"># copy *Num-test-failures to EBX</span> +<span id="L25" class="LineNr"> 25 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 3/r32/EBX <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32 <span class="subxComment"># copy *Num-test-failures to EBX</span> <span id="L26" class="LineNr"> 26 </span> b8/copy-to-EAX 1/imm32/exit <span id="L27" class="LineNr"> 27 </span> cd/syscall 0x80/imm8 <span id="L28" class="LineNr"> 28 </span> |