From 3350c34a74844e21ea69077e01efff3bae64bdcd Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 23 Mar 2021 17:31:08 -0700 Subject: . --- html/311decimal-int.subx.html | 63 +++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 32 deletions(-) (limited to 'html/311decimal-int.subx.html') diff --git a/html/311decimal-int.subx.html b/html/311decimal-int.subx.html index 1563386c..2626adf5 100644 --- a/html/311decimal-int.subx.html +++ b/html/311decimal-int.subx.html @@ -14,15 +14,15 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background- body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } -.subxComment { color: #005faf; } .SpecialChar { color: #d70000; } +.subxComment { color: #005faf; } +.subxS1Comment { color: #0000af; } .LineNr { } +.subxH1Comment { color: #005faf; text-decoration: underline; } +.subxMinorFunction { color: #875f5f; } .subxTest { color: #5f8700; } -.subxS1Comment { color: #0000af; } .subxFunction { color: #af5f00; text-decoration: underline; } .Constant { color: #008787; } -.subxMinorFunction { color: #875f5f; } -.subxH1Comment { color: #005faf; text-decoration: underline; } --> @@ -184,10 +184,10 @@ if ('onhashchange' in window) { 124 # if (curr >= in->end) break 125 39/compare %esi 7/r32/edi 126 73/jump-if-addr>= break/disp8 -127 # if !is-decimal-digit?(*curr) return 0 +127 # if !decimal-digit?(*curr) return 0 128 8a/copy-byte *esi 1/r32/CL 129 50/push-eax -130 (is-decimal-digit? %ecx) # => eax +130 (decimal-digit? %ecx) # => eax 131 { 132 3d/compare-eax-and 0/imm32/false 133 75/jump-if-!= break/disp8 @@ -247,7 +247,7 @@ if ('onhashchange' in window) { 187 89/<- %ecx 4/r32/esp 188 # 189 (parse-decimal-int-from-slice %ecx) # => eax -190 (check-ints-equal %eax 3 "F - test-parse-decimal-int-from-slice-single-digit") +190 (check-ints-equal %eax 3 "F - test-parse-decimal-int-from-slice-single-digit") 191 $test-parse-decimal-int-helper-single-digit:end: 192 # . restore registers 193 59/pop-to-ecx @@ -275,7 +275,7 @@ if ('onhashchange' in window) { 215 89/<- %ecx 4/r32/esp 216 # 217 (parse-decimal-int-from-slice %ecx) # => eax -218 (check-ints-equal %eax 0x22 "F - test-parse-decimal-int-from-slice-multi-digit") # 34 in hex +218 (check-ints-equal %eax 0x22 "F - test-parse-decimal-int-from-slice-multi-digit") # 34 in hex 219 $test-parse-decimal-int-helper-multi-digit:end: 220 # . restore registers 221 59/pop-to-ecx @@ -303,7 +303,7 @@ if ('onhashchange' in window) { 243 89/<- %ecx 4/r32/esp 244 # 245 (parse-decimal-int-from-slice %ecx) # => eax -246 (check-ints-equal %eax 0 "F - test-parse-decimal-int-from-slice-zero") +246 (check-ints-equal %eax 0 "F - test-parse-decimal-int-from-slice-zero") 247 $test-parse-decimal-int-helper-zero:end: 248 # . restore registers 249 59/pop-to-ecx @@ -331,7 +331,7 @@ if ('onhashchange' in window) { 271 89/<- %ecx 4/r32/esp 272 # 273 (parse-decimal-int-from-slice %ecx) # => eax -274 (check-ints-equal %eax -3 "F - test-parse-decimal-int-from-slice-negative") +274 (check-ints-equal %eax -3 "F - test-parse-decimal-int-from-slice-negative") 275 $test-parse-decimal-int-helper-negative:end: 276 # . restore registers 277 59/pop-to-ecx @@ -359,7 +359,7 @@ if ('onhashchange' in window) { 299 89/<- %ecx 4/r32/esp 300 # 301 (parse-decimal-int-from-slice %ecx) # => eax -302 (check-ints-equal %eax -0x20 "F - test-parse-decimal-int-from-slice-multi-digit-negative") # -32 in hex +302 (check-ints-equal %eax -0x20 "F - test-parse-decimal-int-from-slice-multi-digit-negative") # -32 in hex 303 $test-parse-decimal-int-helper-multi-digit-negative:end: 304 # . restore registers 305 59/pop-to-ecx @@ -427,7 +427,7 @@ if ('onhashchange' in window) { 367 89/<- %ebp 4/r32/esp 368 # 369 (decimal-size 0) # => eax -370 (check-ints-equal %eax 1 "F - test-decimal-size-of-zero") +370 (check-ints-equal %eax 1 "F - test-decimal-size-of-zero") 371 $test-decimal-size-of-zero:end: 372 # . epilogue 373 89/<- %esp 5/r32/ebp @@ -440,7 +440,7 @@ if ('onhashchange' in window) { 380 89/<- %ebp 4/r32/esp 381 # 382 (decimal-size 4) # => eax -383 (check-ints-equal %eax 1 "F - test-decimal-size-single-digit") +383 (check-ints-equal %eax 1 "F - test-decimal-size-single-digit") 384 $test-decimal-size-single-digit:end: 385 # . epilogue 386 89/<- %esp 5/r32/ebp @@ -453,7 +453,7 @@ if ('onhashchange' in window) { 393 89/<- %ebp 4/r32/esp 394 # 395 (decimal-size 0xa) # => eax -396 (check-ints-equal %eax 2 "F - test-decimal-size-multi-digit") +396 (check-ints-equal %eax 2 "F - test-decimal-size-multi-digit") 397 $test-decimal-size-multi-digit:end: 398 # . epilogue 399 89/<- %esp 5/r32/ebp @@ -466,7 +466,7 @@ if ('onhashchange' in window) { 406 89/<- %ebp 4/r32/esp 407 # 408 (decimal-size -4) # => eax -409 (check-ints-equal %eax 2 "F - test-decimal-size-single-digit-negative") +409 (check-ints-equal %eax 2 "F - test-decimal-size-single-digit-negative") 410 $test-decimal-size-single-digit-negative:end: 411 # . epilogue 412 89/<- %esp 5/r32/ebp @@ -479,7 +479,7 @@ if ('onhashchange' in window) { 419 89/<- %ebp 4/r32/esp 420 # 421 (decimal-size -0xa) # => eax -422 (check-ints-equal %eax 3 "F - test-decimal-size-multi-digit-negative") +422 (check-ints-equal %eax 3 "F - test-decimal-size-multi-digit-negative") 423 $test-decimal-size-multi-digit-negative:end: 424 # . epilogue 425 89/<- %esp 5/r32/ebp @@ -536,19 +536,19 @@ if ('onhashchange' in window) { 476 39/compare %ecx 2/r32/edx 477 73/jump-if-addr>= $_parse-array-of-decimal-ints:break1/disp8 478 # curr = skip-chars-matching-in-slice(curr, end, ' ') -479 (skip-chars-matching-in-slice %ecx %edx 0x20) # => eax +479 (skip-chars-matching-in-slice %ecx %edx 0x20) # => eax 480 89/<- %ecx 0/r32/eax 481 # if (curr >= end) break 482 39/compare %ecx 2/r32/edx 483 73/jump-if-addr>= $_parse-array-of-decimal-ints:break1/disp8 484 # curr = skip-chars-not-matching-in-slice(curr, end, ' ') -485 (skip-chars-not-matching-in-slice %ecx %edx 0x20) # => eax +485 (skip-chars-not-matching-in-slice %ecx %edx 0x20) # => eax 486 89/<- %ecx 0/r32/eax 487 # size += 4 488 81 0/subop/add %ebx 4/imm32 489 eb/jump $_parse-array-of-decimal-ints:loop1/disp8 490 $_parse-array-of-decimal-ints:break1: -491 (allocate-array *(ebp+8) %ebx *(ebp+0x10)) +491 (allocate-array *(ebp+8) %ebx *(ebp+0x10)) 492 $_parse-array-of-decimal-ints:pass2: 493 # var slice/edi: slice = {s->data, 0} 494 68/push 0/imm32/end @@ -557,20 +557,20 @@ if ('onhashchange' in window) { 497 89/<- %edi 4/r32/esp 498 # curr = lookup(out)->data 499 8b/-> *(ebp+0x10) 0/r32/eax -500 (lookup *eax *(eax+4)) # => eax +500 (lookup *eax *(eax+4)) # => eax 501 8d/copy-address *(eax+4) 1/r32/ecx 502 $_parse-array-of-decimal-ints:loop2: 503 # if (slice->start >= end) break 504 39/compare *edi 2/r32/edx 505 73/jump-if-addr>= $_parse-array-of-decimal-ints:end/disp8 506 # slice->start = skip-chars-matching-in-slice(slice->start, end, ' ') -507 (skip-chars-matching-in-slice *edi %edx 0x20) # => eax +507 (skip-chars-matching-in-slice *edi %edx 0x20) # => eax 508 89/<- *edi 0/r32/eax 509 # if (slice->start >= end) break 510 39/compare *edi 2/r32/edx 511 73/jump-if-addr>= $_parse-array-of-decimal-ints:end/disp8 512 # slice->end = skip-chars-not-matching-in-slice(slice->start, end, ' ') -513 (skip-chars-not-matching-in-slice *edi %edx 0x20) # => eax +513 (skip-chars-not-matching-in-slice *edi %edx 0x20) # => eax 514 89/<- *(edi+4) 0/r32/eax 515 # *curr = parse-hex-int-from-slice(slice) 516 (parse-decimal-int-from-slice %edi) @@ -612,9 +612,9 @@ if ('onhashchange' in window) { 552 89/<- %ecx 4/r32/esp 553 # 554 (_parse-array-of-decimal-ints Heap "1 2 3" %esi) -555 (lookup *esi *(esi+4)) # => eax +555 (lookup *esi *(esi+4)) # => eax 556 (array-equal? %ecx %eax) # => eax -557 (check-ints-equal %eax 1 "F - test-parse-array-of-decimal-ints") +557 (check-ints-equal %eax 1 "F - test-parse-array-of-decimal-ints") 558 # . epilogue 559 89/<- %esp 5/r32/ebp 560 5d/pop-to-ebp @@ -631,8 +631,8 @@ if ('onhashchange' in window) { 571 89/<- %esi 4/r32/esp 572 # 573 (_parse-array-of-decimal-ints Heap "" %esi) -574 (lookup *esi *(esi+4)) # => eax -575 (check-ints-equal *eax 0 "F - test-parse-array-of-decimal-ints-empty") +574 (lookup *esi *(esi+4)) # => eax +575 (check-ints-equal *eax 0 "F - test-parse-array-of-decimal-ints-empty") 576 # . epilogue 577 89/<- %esp 5/r32/ebp 578 5d/pop-to-ebp @@ -648,9 +648,9 @@ if ('onhashchange' in window) { 588 68/push 0/imm32 589 89/<- %esi 4/r32/esp 590 # -591 (_parse-array-of-decimal-ints Heap Space %esi) -592 (lookup *esi *(esi+4)) # => eax -593 (check-ints-equal *eax 0 "F - test-parse-array-of-decimal-ints-just-whitespace") +591 (_parse-array-of-decimal-ints Heap Space %esi) +592 (lookup *esi *(esi+4)) # => eax +593 (check-ints-equal *eax 0 "F - test-parse-array-of-decimal-ints-just-whitespace") 594 # . epilogue 595 89/<- %esp 5/r32/ebp 596 5d/pop-to-ebp @@ -672,9 +672,9 @@ if ('onhashchange' in window) { 612 89/<- %ecx 4/r32/esp 613 # 614 (_parse-array-of-decimal-ints Heap " 1 2 3 " %esi) -615 (lookup *esi *(esi+4)) # => eax +615 (lookup *esi *(esi+4)) # => eax 616 (array-equal? %ecx %eax) # => eax -617 (check-ints-equal %eax 1 "F - test-parse-array-of-decimal-ints-extra-whitespace") +617 (check-ints-equal %eax 1 "F - test-parse-array-of-decimal-ints-extra-whitespace") 618 # . epilogue 619 89/<- %esp 5/r32/ebp 620 5d/pop-to-ebp @@ -691,7 +691,6 @@ if ('onhashchange' in window) { 631 89/<- %esp 5/r32/ebp 632 5d/pop-to-ebp 633 c3/return -634 -- cgit 1.4.1-2-gfad0