From 535fe9ac96dba0950efd1bfe6788801f6197971f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 13 Feb 2021 18:18:05 -0800 Subject: 7737 --- html/baremetal/120allocate.subx.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'html/baremetal/120allocate.subx.html') diff --git a/html/baremetal/120allocate.subx.html b/html/baremetal/120allocate.subx.html index f19e0902..b55f5483 100644 --- a/html/baremetal/120allocate.subx.html +++ b/html/baremetal/120allocate.subx.html @@ -173,7 +173,7 @@ if ('onhashchange' in window) { 112 # TODO: move this check up before any state updates when we support error recovery 113 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 3/index/ebx . 0/r32/eax 4/disp8 . # copy eax+ebx+4 to eax 114 3b/compare 1/mod/*+disp8 1/rm32/ecx . . . 0/r32/eax 4/disp8 . # compare eax with *(ecx+4) -115 73/jump-if->=-signed $allocate-raw:abort/disp8 +115 73/jump-if->=-signed $allocate-raw:abort/disp8 116 $allocate-raw:commit: 117 # ad->curr += n+4 118 89/copy 0/mod/indirect 1/rm32/ecx . . . 0/r32/eax . . # copy eax to *ecx @@ -190,8 +190,8 @@ if ('onhashchange' in window) { 129 5d/pop-to-ebp 130 c3/return 131 -132 $allocate-raw:abort: -133 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "allocate: failed" 3) # 3=cyan +132 $allocate-raw:abort: +133 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "allocate: failed" 3 0) # 3=cyan 134 { 135 eb/jump loop/disp8 136 } @@ -301,7 +301,7 @@ if ('onhashchange' in window) { 240 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax 241 # if (ecx != *eax) abort 242 39/compare 0/mod/indirect 0/rm32/eax . . . 1/r32/ecx . . # compare *eax and ecx -243 75/jump-if-!= $lookup:abort/disp8 +243 75/jump-if-!= $lookup:abort/disp8 244 # add 4 to eax 245 05/add-to-eax 4/imm32 246 $lookup:end: @@ -312,8 +312,8 @@ if ('onhashchange' in window) { 251 5d/pop-to-ebp 252 c3/return 253 -254 $lookup:abort: -255 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "lookup: failed" 3) # 3=cyan +254 $lookup:abort: +255 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "lookup: failed" 3 0) # 3=cyan 256 { 257 eb/jump loop/disp8 258 } @@ -560,7 +560,7 @@ if ('onhashchange' in window) { 499 05/add-to-eax 4/imm32 500 # if (eax == 0) abort 501 3d/compare-eax-and 0/imm32 -502 74/jump-if-= $allocate-region:abort/disp8 +502 74/jump-if-= $allocate-region:abort/disp8 503 # earmark 8 bytes at the start for a new allocation descriptor 504 # . *eax = eax + 8 505 89/copy 3/mod/direct 1/rm32/ecx . . . 0/r32/eax . . # copy eax to ecx @@ -584,8 +584,8 @@ if ('onhashchange' in window) { 523 # conditional jump, even if it's unused the vast majority of the time. This way 524 # we bloat a potentially cold segment in RAM so we can abort with a single 525 # instruction. -526 $allocate-region:abort: -527 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "allocate-region: failed to allocate" 3) # 3=cyan +526 $allocate-region:abort: +527 (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "allocate-region: failed to allocate" 3 0) # 3=cyan 528 { 529 eb/jump loop/disp8 530 } -- cgit 1.4.1-2-gfad0