From 5396e24cba8390ca2d70d99c7e8772eee4ec3a11 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 18 May 2021 13:01:59 -0700 Subject: . --- html/118parse-hex-int.subx.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'html/118parse-hex-int.subx.html') diff --git a/html/118parse-hex-int.subx.html b/html/118parse-hex-int.subx.html index 50b2f1f4..65501a2b 100644 --- a/html/118parse-hex-int.subx.html +++ b/html/118parse-hex-int.subx.html @@ -924,11 +924,11 @@ if ('onhashchange' in window) { 865 $from-hex-char:check0: 866 # if (eax < '0') goto abort 867 3d/compare-eax-with 0x30/imm32/0 -868 7c/jump-if-< $from-hex-char:abort/disp8 +868 7c/jump-if-< $from-hex-char:abort/disp8 869 $from-hex-char:check1: 870 # if (eax > 'f') goto abort 871 3d/compare-eax-with 0x66/imm32/f -872 7f/jump-if-> $from-hex-char:abort/disp8 +872 7f/jump-if-> $from-hex-char:abort/disp8 873 $from-hex-char:check2: 874 # if (eax > '9') goto next check 875 3d/compare-eax-with 0x39/imm32/9 @@ -940,20 +940,17 @@ if ('onhashchange' in window) { 881 $from-hex-char:check3: 882 # if (eax < 'a') goto abort 883 3d/compare-eax-with 0x61/imm32/a -884 7c/jump-if-< $from-hex-char:abort/disp8 +884 7c/jump-if-< $from-hex-char:abort/disp8 885 $from-hex-char:letter: 886 # return eax - ('a'-10) 887 2d/subtract-from-eax 0x57/imm32/a-10 888 c3/return 889 -890 $from-hex-char:abort: -891 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "invalid hex char" 3 0) # 3=cyan -892 { -893 eb/jump loop/disp8 -894 } -895 # never gets here -896 -897 # . . vim:nowrap:textwidth=0 +890 $from-hex-char:abort: +891 (abort "invalid hex char") +892 # never gets here +893 +894 # . . vim:nowrap:textwidth=0 -- cgit 1.4.1-2-gfad0