From 09492d3867b5da6d0b2f21b139d097cd481a8fa1 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 10 Apr 2019 21:18:55 -0700 Subject: 5077 --- html/subx/065hex.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/subx/065hex.subx.html') diff --git a/html/subx/065hex.subx.html b/html/subx/065hex.subx.html index 5cef0d9c..19119cac 100644 --- a/html/subx/065hex.subx.html +++ b/html/subx/065hex.subx.html @@ -125,7 +125,7 @@ if ('onhashchange' in window) { 65 # . . discard args 66 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 67 # if (EAX == false) return false - 68 3d/compare-with-EAX 0/imm32 + 68 3d/compare-EAX-and 0/imm32 69 74/jump-if-equal $is-hex-int?:end/disp8 70 # ++curr 71 41/increment-ECX @@ -399,7 +399,7 @@ if ('onhashchange' in window) { 339 # . if (*curr == '-') negate = true 340 31/xor 3/mod/direct 0/rm32/EAX . . . 0/r32/EAX . . # clear EAX 341 8a/copy-byte 0/mod/indirect 1/rm32/ECX . . . 0/r32/AL . . # copy byte at *ECX to AL -342 81 7/subop/compare 3/mod/direct 0/rm32/EAX . . . . . 0x2d/imm32/- # compare EAX +342 3d/compare-EAX-and 0x2d/imm32/- 343 75/jump-if-not-equal $parse-hex-int:initial-0/disp8 344 # . ++curr 345 41/increment-ECX @@ -409,7 +409,7 @@ if ('onhashchange' in window) { 349 # skip past leading '0x' 350 # . if (*curr != '0') jump to loop 351 8a/copy-byte 0/mod/indirect 1/rm32/ECX . . . 0/r32/AL . . # copy byte at *ECX to AL -352 81 7/subop/compare 3/mod/direct 0/rm32/EAX . . . . . 0x30/imm32/0 # compare EAX +352 3d/compare-EAX-and 0x30/imm32/0 353 75/jump-if-not-equal $parse-hex-int:loop/disp8 354 # . ++curr 355 41/increment-ECX @@ -420,7 +420,7 @@ if ('onhashchange' in window) { 360 # . if (*curr != 'x') jump to loop # the previous '0' is still valid so doesn't need to be checked again 361 31/xor 3/mod/direct 0/rm32/EAX . . . 0/r32/EAX . . # clear EAX 362 8a/copy-byte 0/mod/indirect 1/rm32/ECX . . . 0/r32/AL . . # copy byte at *ECX to AL -363 81 7/subop/compare 3/mod/direct 0/rm32/EAX . . . . . 0x78/imm32/x # compare EAX +363 3d/compare-EAX-and 0x78/imm32/x 364 75/jump-if-not-equal $parse-hex-int:loop/disp8 365 # . ++curr 366 41/increment-ECX @@ -792,7 +792,7 @@ if ('onhashchange' in window) { 732 from-hex-char: # in/EAX : byte -> out/EAX : num 733 # no error checking; accepts argument in EAX 734 # if (EAX <= '9') return EAX - '0' -735 3d/compare-EAX 0x39/imm32/9 +735 3d/compare-EAX-with 0x39/imm32/9 736 7f/jump-if-greater $from-hex-char:else/disp8 737 2d/subtract-from-EAX 0x30/imm32/0 738 c3/return @@ -804,7 +804,7 @@ if ('onhashchange' in window) { 744 to-hex-char: # in/EAX : nibble -> out/EAX : byte 745 # no error checking; accepts argument in EAX 746 # if (EAX <= 9) return EAX + '0' -747 3d/compare-EAX 0x9/imm32/9 +747 3d/compare-EAX-with 0x9/imm32/9 748 7f/jump-if-greater $to-hex-char:else/disp8 749 05/add-to-EAX 0x30/imm32/0 750 c3/return -- cgit 1.4.1-2-gfad0