From 7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 3 Jan 2020 01:36:34 -0800 Subject: 5876 - address -> addr --- html/058stream-equal.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/058stream-equal.subx.html') diff --git a/html/058stream-equal.subx.html b/html/058stream-equal.subx.html index 2e24dba7..f4e87361 100644 --- a/html/058stream-equal.subx.html +++ b/html/058stream-equal.subx.html @@ -65,7 +65,7 @@ if ('onhashchange' in window) { 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 # compare all the data in a stream (ignoring the read pointer) - 9 stream-data-equal?: # f : (address stream byte), s : (address array byte) -> eax : boolean + 9 stream-data-equal?: # f : (addr stream byte), s : (addr array byte) -> eax : boolean 10 # . prologue 11 55/push-ebp 12 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -78,9 +78,9 @@ if ('onhashchange' in window) { 19 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 6/r32/esi 8/disp8 . # copy *(ebp+8) to esi 20 # eax = f->write 21 8b/copy 0/mod/indirect 6/rm32/esi . . . 0/r32/eax . . # copy *esi to eax - 22 # var maxf/edx : (address byte) = &f->data[f->write] + 22 # var maxf/edx : (addr byte) = &f->data[f->write] 23 8d/copy-address 1/mod/*+disp8 4/rm32/sib 6/base/esi 0/index/eax . 2/r32/edx 0xc/disp8 . # copy esi+eax+12 to edx - 24 # var currf/esi : (address byte) = f->data + 24 # var currf/esi : (addr byte) = f->data 25 81 0/subop/add 3/mod/direct 6/rm32/esi . . . . . 0xc/imm32 # add to esi 26 # edi = s 27 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 7/r32/edi 0xc/disp8 . # copy *(ebp+12) to edi @@ -88,7 +88,7 @@ if ('onhashchange' in window) { 29 # if (f->write != s->length) return false 30 39/compare 0/mod/indirect 7/rm32/edi . . . 0/r32/eax . . # compare *edi and eax 31 75/jump-if-not-equal $stream-data-equal?:false/disp8 - 32 # var currs/edi : (address byte) = s->data + 32 # var currs/edi : (addr byte) = s->data 33 81 0/subop/add 3/mod/direct 7/rm32/edi . . . . . 4/imm32 # add to edi 34 # var eax : byte = 0 35 31/xor 3/mod/direct 0/rm32/eax . . . 0/r32/eax . . # clear eax @@ -250,7 +250,7 @@ if ('onhashchange' in window) { 191 c3/return 192 193 # helper for later tests -194 check-stream-equal: # f : (address stream byte), s : (address array byte), msg : (address array byte) +194 check-stream-equal: # f : (addr stream byte), s : (addr array byte), msg : (addr array byte) 195 # . prologue 196 55/push-ebp 197 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp @@ -286,7 +286,7 @@ if ('onhashchange' in window) { 227 # on success, set f->read to after the next newline 228 # on failure, leave f->read unmodified 229 # this function is usually used only in tests, so we repeatedly write f->read -230 next-stream-line-equal?: # f : (address stream byte), s : (address array byte) -> eax : boolean +230 next-stream-line-equal?: # f : (addr stream byte), s : (addr array byte) -> eax : boolean 231 # pseudocode: 232 # currf = f->read # bound: f->write 233 # currs = 0 # bound : s->length -- cgit 1.4.1-2-gfad0 ='alt'>
cf5c8bc6 ^

81b3f72f ^
0dda332c ^
cf5c8bc6 ^
684c0962 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21