diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-11-09 09:23:31 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-11-09 09:23:31 -0800 |
commit | 3ff2fe607c2cb5690d201d3b83ddcc957e949b7a (patch) | |
tree | 2dd6019731bad313ecf0423d6063c9d0fa0bb77e /html/linux/103kernel-string-equal.subx.html | |
parent | ef8fd8851a883eefd7bd55ffc31d6e00f67d50a8 (diff) | |
download | mu-3ff2fe607c2cb5690d201d3b83ddcc957e949b7a.tar.gz |
.
Diffstat (limited to 'html/linux/103kernel-string-equal.subx.html')
-rw-r--r-- | html/linux/103kernel-string-equal.subx.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/html/linux/103kernel-string-equal.subx.html b/html/linux/103kernel-string-equal.subx.html index 1ad95420..54d4d20a 100644 --- a/html/linux/103kernel-string-equal.subx.html +++ b/html/linux/103kernel-string-equal.subx.html @@ -14,17 +14,18 @@ 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; } +.Constant { color: #008787; } +.subxTest { color: #5f8700; } +.subxFunction { color: #af5f00; text-decoration: underline; } .Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } +.CommentedCode { color: #8a8a8a; } .subxMinorFunction { color: #875f5f; } -.subxTest { color: #5f8700; } -.subxH1Comment { color: #005faf; text-decoration: underline; } --> </style> @@ -84,11 +85,11 @@ if ('onhashchange' in window) { <span id="L22" class="LineNr"> 22 </span><span class="subxS1Comment"># . op subop mod rm32 base index scale r32</span> <span id="L23" class="LineNr"> 23 </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="L24" class="LineNr"> 24 </span> -<span id="L25" class="LineNr"> 25 </span><span class="SpecialChar">Entry</span>: <span class="subxComment"># run all tests</span> -<span id="L26" class="LineNr"> 26 </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="L27" class="LineNr"> 27 </span> <span class="subxComment"># syscall(exit, Num-test-failures)</span> -<span id="L28" class="LineNr"> 28 </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="L29" class="LineNr"> 29 </span> e8/call <a href='000init.subx.html#L18'>syscall_exit</a>/disp32 +<span id="L25" class="LineNr"> 25 </span><span class="CommentedCode">#? Entry: # run all tests</span> +<span id="L26" class="LineNr"> 26 </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="L27" class="LineNr"> 27 </span><span class="CommentedCode">#? # syscall_exit(Num-test-failures)</span> +<span id="L28" class="LineNr"> 28 </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="L29" class="LineNr"> 29 </span><span class="CommentedCode">#? e8/call syscall_exit/disp32</span> <span id="L30" class="LineNr"> 30 </span> <span id="L31" class="LineNr"> 31 </span><span class="subxFunction">kernel-string-equal?</span>: <span class="subxComment"># s: (addr kernel-string), benchmark: (addr array byte) -> result/eax: boolean</span> <span id="L32" class="LineNr"> 32 </span> <span class="subxComment"># pseudocode:</span> |