From 8aeb85f04ee68b960a6d326aca1a17dec2f6d019 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 9 Dec 2019 01:26:58 -0800 Subject: 5806 --- html/062write-stream.subx.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html/062write-stream.subx.html') diff --git a/html/062write-stream.subx.html b/html/062write-stream.subx.html index 248e84d1..14f5902c 100644 --- a/html/062write-stream.subx.html +++ b/html/062write-stream.subx.html @@ -76,7 +76,7 @@ if ('onhashchange' in window) { 15 #? b8/copy-to-eax 1/imm32/exit 16 #? cd/syscall 0x80/imm8 17 - 18 write-stream: # f : fd or (address stream), s : (address stream) + 18 write-stream: # f : fd or (address stream byte), s : (address stream byte) 19 # . prologue 20 55/push-ebp 21 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -119,7 +119,7 @@ if ('onhashchange' in window) { 58 8d/copy-address 1/mod/*+disp8 4/rm32/sib 7/base/edi 0/index/eax . 0/r32/eax 0xc/disp8 . # copy edi+eax+12 to eax 59 50/push-eax 60 # . . call - 61 e8/call _append-4/disp32 + 61 e8/call _append-4/disp32 62 # . . discard args 63 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0x10/imm32 # add to esp 64 # f->write += eax @@ -136,7 +136,7 @@ if ('onhashchange' in window) { 75 5d/pop-to-ebp 76 c3/return 77 - 78 _write-stream: # fd : int, s : (address stream) + 78 _write-stream: # fd : int, s : (address stream byte) 79 # . prologue 80 55/push-ebp 81 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -186,7 +186,7 @@ if ('onhashchange' in window) { 125 68/push "_write-stream: failed to write to file\n"/imm32 126 68/push 2/imm32/stderr 127 # . . call -128 e8/call _write/disp32 +128 e8/call _write/disp32 129 # . . discard args 130 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 131 # . syscall(exit, 1) @@ -233,7 +233,7 @@ if ('onhashchange' in window) { 172 68/push "Ab"/imm32 173 68/push _test-stream/imm32 174 # . . call -175 e8/call check-stream-equal/disp32 +175 e8/call check-stream-equal/disp32 176 # . . discard args 177 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 178 # . end @@ -295,7 +295,7 @@ if ('onhashchange' in window) { 234 68/push "CD"/imm32 235 68/push _test-stream/imm32 236 # . . call -237 e8/call check-stream-equal/disp32 +237 e8/call check-stream-equal/disp32 238 # . . discard args 239 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp 240 # . end @@ -303,7 +303,7 @@ if ('onhashchange' in window) { 242 243 == data 244 -245 _test-stream2: +245 _test-stream2: # (ref stream byte) 246 # current write index 247 4/imm32 248 # current read index -- cgit 1.4.1-2-gfad0