From 651fc300a4087f6ccaa7d17c0d581e6ddd313a48 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 6 Mar 2020 12:28:57 -0800 Subject: 6084 --- html/079emit.subx.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html/079emit.subx.html') diff --git a/html/079emit.subx.html b/html/079emit.subx.html index 4975046a..7b96917b 100644 --- a/html/079emit.subx.html +++ b/html/079emit.subx.html @@ -122,18 +122,18 @@ if ('onhashchange' in window) { 61 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 62 # . return 63 eb/jump $emit:end/disp8 - 64 # otherwise emit-hex(out, parse-hex-int(datum), width) + 64 # otherwise emit-hex(out, parse-hex-int-from-slice(datum), width) 65 # (Weird shit can happen here if the datum of 'word' isn't either a valid 66 # name or a hex number. `emit` is mostly used by translate_subx, which 67 # is currently designed to only receive legal SubX programs. We just 68 # want to make sure that valid names aren't treated as (valid) hex 69 # numbers.) 70 $emit:hex-int: - 71 # . var value/eax: int = parse-hex-int(datum) + 71 # . var value/eax: int = parse-hex-int-from-slice(datum) 72 # . . push args 73 57/push-edi 74 # . . call - 75 e8/call parse-hex-int/disp32 + 75 e8/call parse-hex-int-from-slice/disp32 76 # . . discard args 77 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp 78 # . emit-hex(out, value, width) -- cgit 1.4.1-2-gfad0