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/093array-equal.subx.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/093array-equal.subx.html') diff --git a/html/093array-equal.subx.html b/html/093array-equal.subx.html index 4da63790..dabe8ef2 100644 --- a/html/093array-equal.subx.html +++ b/html/093array-equal.subx.html @@ -66,7 +66,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 array-equal?: # a : (address array int), b : (address array int) -> eax : boolean + 8 array-equal?: # a : (addr array int), b : (addr array int) -> eax : boolean 9 # pseudocode: 10 # lena = a->length 11 # if (lena != b->length) return false @@ -107,9 +107,9 @@ if ('onhashchange' in window) { 46 # if (lena != b->length) return false 47 39/compare 0/mod/indirect 7/rm32/edi . . . 2/r32/edx . . # compare *edi and edx 48 75/jump-if-not-equal $array-equal?:false/disp8 - 49 # var curra/esi : (address byte) = a->data + 49 # var curra/esi : (addr byte) = a->data 50 81 0/subop/add 3/mod/direct 6/rm32/esi . . . . . 4/imm32 # add to esi - 51 # var currb/edi : (address byte) = b->data + 51 # var currb/edi : (addr byte) = b->data 52 81 0/subop/add 3/mod/direct 7/rm32/edi . . . . . 4/imm32 # add to edi 53 # var i/ecx : int = 0 54 31/xor 3/mod/direct 1/rm32/ecx . . . 1/r32/ecx . . # clear ecx @@ -291,7 +291,7 @@ if ('onhashchange' in window) { 230 5d/pop-to-ebp 231 c3/return 232 -233 parse-array-of-ints: # ad : (address allocation-descriptor), s : (address string) -> result/eax : (handle array int) +233 parse-array-of-ints: # ad : (addr allocation-descriptor), s : (addr string) -> result/eax : (handle array int) 234 # pseudocode 235 # end = &s->data[s->length] 236 # curr = s->data @@ -327,9 +327,9 @@ if ('onhashchange' in window) { 266 57/push-edi 267 # esi = s 268 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 6/r32/esi 0xc/disp8 . # copy *(ebp+12) to esi -269 # var curr/ecx : (address byte) = s->data +269 # var curr/ecx : (addr byte) = s->data 270 8d/copy-address 1/mod/*+disp8 6/rm32/esi . . . 1/r32/ecx 4/disp8 . # copy esi+4 to ecx -271 # var end/edx : (address byte) = &s->data[s->length] +271 # var end/edx : (addr byte) = &s->data[s->length] 272 # . edx = s->length 273 8b/copy 0/mod/indirect 6/rm32/esi . . . 2/r32/edx . . # copy *esi to edx 274 # . edx += curr @@ -395,7 +395,7 @@ if ('onhashchange' in window) { 334 51/push-ecx 335 # . bookmark 336 89/copy 3/mod/direct 1/rm32/ecx . . . 4/r32/esp . . # copy esp to ecx -337 # var out/ebx : (address byte) = result->data +337 # var out/ebx : (addr byte) = result->data 338 8d/copy-address 1/mod/*+disp8 0/rm32/eax . . . 3/r32/ebx 4/disp8 . # copy eax+4 to ebx 339 $parse-array-of-ints:loop2: 340 # if (slice->start >= end) break @@ -597,7 +597,7 @@ if ('onhashchange' in window) { 536 537 # helper for later tests 538 # compare an array with a string representation of an array literal -539 check-array-equal: # a : (address array int), expected : (address string), msg : (address string) +539 check-array-equal: # a : (addr array int), expected : (addr string), msg : (addr string) 540 # . prologue 541 55/push-ebp 542 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp -- cgit 1.4.1-2-gfad0