From 2104d1a75b76dbffc0b15a96c98d94e7a16594e8 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 27 Jan 2020 00:39:46 -0800 Subject: 5925 --- html/082slurp.subx.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/082slurp.subx.html') diff --git a/html/082slurp.subx.html b/html/082slurp.subx.html index 9491c189..b182707c 100644 --- a/html/082slurp.subx.html +++ b/html/082slurp.subx.html @@ -64,7 +64,7 @@ if ('onhashchange' in window) { 5 6 # read all bytes from 'f' and store them into 's' 7 # abort if 's' is too small - 8 slurp: # f : (addr buffered-file), s : (addr stream byte) + 8 slurp: # f: (addr buffered-file), s: (addr stream byte) 9 # pseudocode: 10 # while true 11 # if (s->write >= s->length) abort @@ -122,7 +122,7 @@ if ('onhashchange' in window) { 63 3d/compare-eax-and 0/imm32 64 74/jump-if-= $slurp:end/disp8 65 $slurp:from-stream: - 66 # var c/eax : byte = f->data[f->read] + 66 # var c/eax: byte = f->data[f->read] 67 31/xor 3/mod/direct 0/rm32/eax . . . 0/r32/eax . . # clear eax 68 8a/copy-byte 1/mod/*+disp8 4/rm32/sib 6/base/esi 1/index/ecx . 0/r32/AL 0x10/disp8 . # copy byte at *(esi+ecx+16) to AL 69 # s->data[s->write] = c -- cgit 1.4.1-2-gfad0 99'>cpp/.traces/convert_names
blob: 33f1f764034abd1ceb5de81fdb481ff505846c32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10