From 999c529cb972079df3bc693945be34a77336ddf4 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 26 Oct 2019 23:51:14 -0700 Subject: 5716 --- html/082slurp.subx.html | 88 ++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 45 deletions(-) (limited to 'html/082slurp.subx.html') diff --git a/html/082slurp.subx.html b/html/082slurp.subx.html index ed4e1f1d..0105f5df 100644 --- a/html/082slurp.subx.html +++ b/html/082slurp.subx.html @@ -172,52 +172,50 @@ if ('onhashchange' in window) { 113 e8/call clear-stream/disp32 114 # . . discard args 115 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp -116 # . clear-stream(_test-buffered-file+4) +116 # . clear-stream(_test-buffered-file->buffer) 117 # . . push args -118 b8/copy-to-eax _test-buffered-file/imm32 -119 05/add-to-eax 4/imm32 -120 50/push-eax -121 # . . call -122 e8/call clear-stream/disp32 -123 # . . discard args -124 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp -125 # . clear-stream(_test-tmp-stream) -126 # . . push args -127 68/push _test-tmp-stream/imm32 -128 # . . call -129 e8/call clear-stream/disp32 -130 # . . discard args -131 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp -132 # write(_test-stream, "ab\ncd") -133 # . . push args -134 68/push "ab\ncd"/imm32 -135 68/push _test-stream/imm32 -136 # . . call -137 e8/call write/disp32 -138 # . . discard args -139 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp -140 # read a line from _test-stream (buffered by _test-buffered-file) into _test-tmp-stream -141 # . eax = slurp(_test-buffered-file, _test-tmp-stream) -142 # . . push args -143 68/push _test-tmp-stream/imm32 -144 68/push _test-buffered-file/imm32 -145 # . . call -146 e8/call slurp/disp32 -147 # . . discard args -148 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp -149 # check-stream-equal(_test-tmp-stream, "ab\ncd", msg) -150 # . . push args -151 68/push "F - test-slurp"/imm32 -152 68/push "ab\ncd"/imm32 -153 68/push _test-tmp-stream/imm32 -154 # . . call -155 e8/call check-stream-equal/disp32 -156 # . . discard args -157 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp -158 # end -159 c3/return -160 -161 # . . vim:nowrap:textwidth=0 +118 68/push _test-buffered-file->buffer/imm32 +119 # . . call +120 e8/call clear-stream/disp32 +121 # . . discard args +122 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp +123 # . clear-stream(_test-tmp-stream) +124 # . . push args +125 68/push _test-tmp-stream/imm32 +126 # . . call +127 e8/call clear-stream/disp32 +128 # . . discard args +129 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp +130 # write(_test-stream, "ab\ncd") +131 # . . push args +132 68/push "ab\ncd"/imm32 +133 68/push _test-stream/imm32 +134 # . . call +135 e8/call write/disp32 +136 # . . discard args +137 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp +138 # read a line from _test-stream (buffered by _test-buffered-file) into _test-tmp-stream +139 # . eax = slurp(_test-buffered-file, _test-tmp-stream) +140 # . . push args +141 68/push _test-tmp-stream/imm32 +142 68/push _test-buffered-file/imm32 +143 # . . call +144 e8/call slurp/disp32 +145 # . . discard args +146 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp +147 # check-stream-equal(_test-tmp-stream, "ab\ncd", msg) +148 # . . push args +149 68/push "F - test-slurp"/imm32 +150 68/push "ab\ncd"/imm32 +151 68/push _test-tmp-stream/imm32 +152 # . . call +153 e8/call check-stream-equal/disp32 +154 # . . discard args +155 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp +156 # end +157 c3/return +158 +159 # . . vim:nowrap:textwidth=0 -- cgit 1.4.1-2-gfad0