From d3a9db3aff54ea485f409eaaef3d8f56ad77f0dc Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 5 Oct 2020 11:00:05 -0700 Subject: 6958 --- html/126write-int-decimal.subx.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/126write-int-decimal.subx.html') diff --git a/html/126write-int-decimal.subx.html b/html/126write-int-decimal.subx.html index 3abbbbca..1b7c77af 100644 --- a/html/126write-int-decimal.subx.html +++ b/html/126write-int-decimal.subx.html @@ -16,12 +16,12 @@ a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } .subxS2Comment { color: #8a8a8a; } -.subxTest { color: #5f8700; } -.subxFunction { color: #af5f00; text-decoration: underline; } +.SpecialChar { color: #d70000; } .LineNr { } +.subxTest { color: #5f8700; } .subxS1Comment { color: #0000af; } .CommentedCode { color: #8a8a8a; } -.SpecialChar { color: #d70000; } +.subxFunction { color: #af5f00; text-decoration: underline; } .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } .Folded { color: #080808; background-color: #949494; } .Constant { color: #008787; } @@ -68,7 +68,7 @@ if ('onhashchange' in window) { 5 # . op subop mod rm32 base index scale r32 6 # . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes 7 - 8 write-int32-decimal: # out: (addr stream byte), n: int32 + 8 write-int32-decimal: # out: (addr stream byte), n: int 9 # works by generating characters from lowest to highest and pushing them 10 # to the stack, before popping them one by one into the stream 11 # @@ -298,7 +298,7 @@ if ('onhashchange' in window) { 235 e8/call write-int32-decimal/disp32 236 # . . discard args 237 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp -238 +-- 26 lines: #? # dump _test-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +238 +-- 26 lines: #? # dump _test-stream ------------------------------------------------------------------------------------------------------------------------------------------------ 264 # check-stream-equal(_test-stream, "-9", msg) 265 # . . push args 266 68/push "F - test-write-int32-decimal-negative"/imm32 @@ -341,7 +341,7 @@ if ('onhashchange' in window) { 303 # . end 304 c3/return 305 -306 is-decimal-digit?: # c: byte -> result/eax: boolean +306 is-decimal-digit?: # c: grapheme -> result/eax: boolean 307 # . prologue 308 55/push-ebp 309 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -440,7 +440,7 @@ if ('onhashchange' in window) { 402 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 403 c3/return 404 -405 to-decimal-digit: # in: byte -> out/eax: int +405 to-decimal-digit: # in: grapheme -> out/eax: int 406 # . prologue 407 55/push-ebp 408 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -478,7 +478,7 @@ if ('onhashchange' in window) { 440 68/push Stderr/imm32 441 # . . call 442 #? e8/call write-byte-buffered/disp32 -443 e8/call write-int32-hex-buffered/disp32 +443 e8/call write-int32-hex-buffered/disp32 444 # . . discard args 445 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 446 # . write-buffered(stderr, "\n") -- cgit 1.4.1-2-gfad0