From 3ff2fe607c2cb5690d201d3b83ddcc957e949b7a Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 9 Nov 2021 09:23:31 -0800 Subject: . --- html/linux/105string-equal.subx.html | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'html/linux/105string-equal.subx.html') 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; } --> @@ -67,12 +66,12 @@ if ('onhashchange' in window) { 5 # . op subop mod rm32 base index scale r32 6 # . 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 7 - 8 Entry: # run all tests - 9 #? e8/call test-compare-equal-strings/disp32 - 10 e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. - 11 # syscall(exit, Num-test-failures) - 12 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/ebx Num-test-failures/disp32 # copy *Num-test-failures to ebx - 13 e8/call syscall_exit/disp32 + 8 #? Entry: # run all tests + 9 #? #? e8/call test-compare-equal-strings/disp32 + 10 #? e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. + 11 #? # syscall_exit(Num-test-failures) + 12 #? 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/ebx Num-test-failures/disp32 # copy *Num-test-failures to ebx + 13 #? e8/call syscall_exit/disp32 14 15 string-equal?: # s: (addr array byte), benchmark: (addr array byte) -> result/eax: boolean 16 # pseudocode: -- cgit 1.4.1-2-gfad0