From 6070c23e5e1c60d3bb169e43bddfa59b1d322427 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 16 Jan 2020 18:31:12 -0800 Subject: 5897 - rename comparison instructions Signed and unsigned don't quite capture the essence of what the different combinations of x86 flags are doing for SubX. The crucial distinction is that one set of comparison operators is for integers and the second is for addresses. --- html/069allocate.subx.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/069allocate.subx.html') diff --git a/html/069allocate.subx.html b/html/069allocate.subx.html index ef63f935..d6ffe82c 100644 --- a/html/069allocate.subx.html +++ b/html/069allocate.subx.html @@ -133,7 +133,7 @@ if ('onhashchange' in window) { 72 89/copy 3/mod/direct 2/rm32/edx . . . 0/r32/eax . . # copy eax to edx 73 03/add 1/mod/*+disp8 5/rm32/ebp . . . 2/r32/edx 0xc/disp8 . # add *(ebp+12) to edx 74 3b/compare 1/mod/*+disp8 1/rm32/ecx . . . 2/r32/edx 4/disp8 . # compare edx with *(ecx+4) - 75 73/jump-if-greater-or-equal-signed $allocate:abort/disp8 + 75 73/jump-if->=-signed $allocate:abort/disp8 76 $allocate:commit: 77 # update ad->curr 78 89/copy 0/mod/indirect 1/rm32/ecx . . . 2/r32/edx . . # copy edx to *ecx @@ -257,7 +257,7 @@ if ('onhashchange' in window) { 196 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp 197 # if (eax == 0) abort 198 3d/compare-eax-and 0/imm32 -199 74/jump-if-equal $allocate-region:abort/disp8 +199 74/jump-if-= $allocate-region:abort/disp8 200 # earmark 8 bytes at the start for a new allocation descriptor 201 # . *eax = eax + 8 202 89/copy 3/mod/direct 1/rm32/ecx . . . 0/r32/eax . . # copy eax to ecx -- cgit 1.4.1-2-gfad0