diff options
Diffstat (limited to 'html/linux/105string-equal.subx.html')
-rw-r--r-- | html/linux/105string-equal.subx.html | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/html/linux/105string-equal.subx.html b/html/linux/105string-equal.subx.html index 1213f8b4..a842941c 100644 --- a/html/linux/105string-equal.subx.html +++ b/html/linux/105string-equal.subx.html @@ -14,16 +14,15 @@ 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; } .Constant { color: #008787; } -.SpecialChar { color: #d70000; } -.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } -.subxH1Comment { color: #005faf; text-decoration: underline; } .subxTest { color: #5f8700; } +.subxFunction { color: #af5f00; text-decoration: underline; } +.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } .CommentedCode { color: #8a8a8a; } --> </style> @@ -67,12 +66,12 @@ if ('onhashchange' in window) { <span id="L5" class="LineNr"> 5 </span><span class="subxS1Comment"># . op subop mod rm32 base index scale r32</span> <span id="L6" class="LineNr"> 6 </span><span class="subxS1Comment"># . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes</span> <span id="L7" class="LineNr"> 7 </span> -<span id="L8" class="LineNr"> 8 </span><span class="SpecialChar">Entry</span>: <span class="subxComment"># run all tests</span> -<span id="L9" class="LineNr"> 9 </span><span class="CommentedCode">#? e8/call test-compare-equal-strings/disp32</span> -<span id="L10" class="LineNr"> 10 </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="L11" class="LineNr"> 11 </span> <span class="subxComment"># syscall(exit, Num-test-failures)</span> -<span id="L12" class="LineNr"> 12 </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='102test.subx.html#L89'>Num-test-failures</a></span>/disp32 <span class="subxComment"># copy *Num-test-failures to ebx</span> -<span id="L13" class="LineNr"> 13 </span> e8/call <a href='000init.subx.html#L18'>syscall_exit</a>/disp32 +<span id="L8" class="LineNr"> 8 </span><span class="CommentedCode">#? Entry: # run all tests</span> +<span id="L9" class="LineNr"> 9 </span><span class="CommentedCode">#? #? e8/call test-compare-equal-strings/disp32</span> +<span id="L10" class="LineNr"> 10 </span><span class="CommentedCode">#? e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'.</span> +<span id="L11" class="LineNr"> 11 </span><span class="CommentedCode">#? # syscall_exit(Num-test-failures)</span> +<span id="L12" class="LineNr"> 12 </span><span class="CommentedCode">#? 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/ebx Num-test-failures/disp32 # copy *Num-test-failures to ebx</span> +<span id="L13" class="LineNr"> 13 </span><span class="CommentedCode">#? e8/call syscall_exit/disp32</span> <span id="L14" class="LineNr"> 14 </span> <span id="L15" class="LineNr"> 15 </span><span class="subxFunction">string-equal?</span>: <span class="subxComment"># s: (addr array byte), benchmark: (addr array byte) -> result/eax: boolean</span> <span id="L16" class="LineNr"> 16 </span> <span class="subxComment"># pseudocode:</span> |