From 901ae474300d70bcc00e7e0b420ca87c8cbf6f55 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 30 Dec 2018 20:24:37 -0800 Subject: 4899 Bug in my linkify tool introduced in commit 4891. --- html/subx/052kernel_string_equal.subx.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'html/subx/052kernel_string_equal.subx.html') diff --git a/html/subx/052kernel_string_equal.subx.html b/html/subx/052kernel_string_equal.subx.html index e620ab08..3bc6e6f4 100644 --- a/html/subx/052kernel_string_equal.subx.html +++ b/html/subx/052kernel_string_equal.subx.html @@ -89,7 +89,7 @@ if ('onhashchange' in window) { 28 29 # compare a null-terminated ascii string with a more idiomatic length-prefixed byte array 30 # reason for the name: the only place we should have null-terminated ascii strings is from commandline args - 31 kernel-string-equal: # s : null-terminated ascii string, benchmark : length-prefixed ascii string -> EAX : boolean + 31 kernel-string-equal: # s : null-terminated ascii string, benchmark : length-prefixed ascii string -> EAX : boolean 32 # . prolog 33 55/push-EBP 34 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP @@ -171,7 +171,7 @@ if ('onhashchange' in window) { 110 111 # - tests 112 -113 test-compare-null-kernel-string-with-empty-array: +113 test-compare-null-kernel-string-with-empty-array: 114 # EAX = kernel-string-equal(Null-kernel-string, "") 115 # . . push args 116 68/push ""/imm32 @@ -191,7 +191,7 @@ if ('onhashchange' in window) { 130 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 131 c3/return 132 -133 test-compare-null-kernel-string-with-non-empty-array: +133 test-compare-null-kernel-string-with-non-empty-array: 134 # EAX = kernel-string-equal(Null-kernel-string, "Abc") 135 # . . push args 136 68/push "Abc"/imm32 @@ -211,7 +211,7 @@ if ('onhashchange' in window) { 150 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 151 c3/return 152 -153 test-compare-kernel-string-with-equal-array: +153 test-compare-kernel-string-with-equal-array: 154 # EAX = kernel-string-equal(Abc-kernel-string, "Abc") 155 # . . push args 156 68/push "Abc"/imm32 @@ -231,7 +231,7 @@ if ('onhashchange' in window) { 170 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 171 c3/return 172 -173 test-compare-kernel-string-with-inequal-array: +173 test-compare-kernel-string-with-inequal-array: 174 # EAX = kernel-string-equal(Abc-kernel-string, "Adc") 175 # . . push args 176 68/push "Adc"/imm32 @@ -251,7 +251,7 @@ if ('onhashchange' in window) { 190 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 191 c3/return 192 -193 test-compare-kernel-string-with-empty-array: +193 test-compare-kernel-string-with-empty-array: 194 # EAX = kernel-string-equal(Abc-kernel-string, "") 195 # . . push args 196 68/push ""/imm32 @@ -271,7 +271,7 @@ if ('onhashchange' in window) { 210 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 211 c3/return 212 -213 test-compare-kernel-string-with-shorter-array: +213 test-compare-kernel-string-with-shorter-array: 214 # EAX = kernel-string-equal(Abc-kernel-string, "Ab") 215 # . . push args 216 68/push "Ab"/imm32 @@ -291,7 +291,7 @@ if ('onhashchange' in window) { 230 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 231 c3/return 232 -233 test-compare-kernel-string-with-longer-array: +233 test-compare-kernel-string-with-longer-array: 234 # EAX = kernel-string-equal(Abc-kernel-string, "Abcd") 235 # . . push args 236 68/push "Abcd"/imm32 @@ -313,9 +313,9 @@ if ('onhashchange' in window) { 252 253 == data 254 -255 Null-kernel-string: +255 Null-kernel-string: 256 00/null -257 Abc-kernel-string: +257 Abc-kernel-string: 258 41/A 62/b 63/c 00/null 259 260 # . . vim:nowrap:textwidth=0 -- cgit 1.4.1-2-gfad0