From 76733e1995222034c11c4af542c799c648b79678 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 16 Jan 2019 00:12:55 -0800 Subject: 4932 --- html/subx/apps/hex.subx.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'html/subx/apps/hex.subx.html') diff --git a/html/subx/apps/hex.subx.html b/html/subx/apps/hex.subx.html index de6efce9..6f15c0c9 100644 --- a/html/subx/apps/hex.subx.html +++ b/html/subx/apps/hex.subx.html @@ -118,7 +118,7 @@ if ('onhashchange' in window) { 55 # return convert(Stdin, 1/stdout, 2/stderr, ed) 56 # . . push args 57 50/push-EAX/ed - 58 68/push Stderr/imm32 + 58 68/push Stderr/imm32 59 68/push Stdout/imm32 60 68/push Stdin/imm32 61 # . . call @@ -194,10 +194,10 @@ if ('onhashchange' in window) { 131 # pseudocode: 132 # EAX = scan-next-byte(in, err, ed) 133 # if (EAX == 0xffffffff) return - 134 # ECX = parse-hex-digit(EAX) + 134 # ECX = from-hex-char(EAX) 135 # EAX = scan-next-byte(in, err, ed) 136 # if (EAX == 0xffffffff) error("partial byte found.") - 137 # EAX = parse-hex-digit(EAX) + 137 # EAX = from-hex-char(EAX) 138 # EAX = (ECX << 4) | EAX 139 # return 140 # @@ -218,8 +218,8 @@ if ('onhashchange' in window) { 155 # if (EAX == 0xffffffff) return 156 81 7/subop/compare 3/mod/direct 0/rm32/EAX . . . . . 0xffffffff/imm32 # compare EAX 157 74/jump-if-equal $convert-next-octet:end/disp8 - 158 # EAX = parse-hex-digit(EAX) - 159 e8/call parse-hex-digit/disp32 + 158 # EAX = from-hex-char(EAX) + 159 e8/call from-hex-char/disp32 160 # ECX = EAX 161 89/copy 3/mod/direct 1/rm32/ECX . . . 0/r32/EAX . . # copy EAX to ECX 162 # EAX = scan-next-byte(in, err, ed) @@ -241,10 +241,10 @@ if ('onhashchange' in window) { 178 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 179 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0x10/disp8 . # push *(EBP+16) 180 # . . call - 181 e8/call error-byte/disp32 # never returns + 181 e8/call error-byte/disp32 # never returns 182 $convert-next-octet:convert: - 183 # EAX = parse-hex-digit(EAX) - 184 e8/call parse-hex-digit/disp32 + 183 # EAX = from-hex-char(EAX) + 184 e8/call from-hex-char/disp32 185 # EAX = (ECX << 4) | EAX 186 # . ECX <<= 4 187 c1/shift 4/subop/left 3/mod/direct 1/rm32/ECX . . . . . 4/imm8 # shift ECX left by 4 bits @@ -580,7 +580,7 @@ if ('onhashchange' in window) { 517 # . . push args 518 50/push-EAX 519 # . . call - 520 e8/call is-hex-digit?/disp32 + 520 e8/call is-hex-digit?/disp32 521 # . . discard args 522 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 523 # . compare with 'false' @@ -619,7 +619,7 @@ if ('onhashchange' in window) { 556 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 557 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0x10/disp8 . # push *(EBP+16) 558 # . . call - 559 e8/call error-byte/disp32 # never returns + 559 e8/call error-byte/disp32 # never returns 560 $scan-next-byte:end: 561 # . restore registers 562 # . epilog -- cgit 1.4.1-2-gfad0