about summary refs log tree commit diff stats
path: root/html/069allocate.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-16 18:31:12 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-16 18:31:12 -0800
commit6070c23e5e1c60d3bb169e43bddfa59b1d322427 (patch)
tree9a70e378c33c15e4779cf94abda8f37c35a5d1da /html/069allocate.subx.html
parent5a6601aba973ba1d1ef30b7b64438c25623b89c5 (diff)
downloadmu-6070c23e5e1c60d3bb169e43bddfa59b1d322427.tar.gz
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.
Diffstat (limited to 'html/069allocate.subx.html')
-rw-r--r--html/069allocate.subx.html4
1 files changed, 2 insertions, 2 deletions
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) {
 <span id="L72" class="LineNr"> 72 </span>    89/copy                         3/mod/direct    2/rm32/edx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy eax to edx</span>
 <span id="L73" class="LineNr"> 73 </span>    03/add                          1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># add *(ebp+12) to edx</span>
 <span id="L74" class="LineNr"> 74 </span>    3b/compare                      1/mod/*+disp8   1/rm32/ecx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># compare edx with *(ecx+4)</span>
-<span id="L75" class="LineNr"> 75 </span>    73/jump-if-greater-or-equal-signed  $allocate:abort/disp8
+<span id="L75" class="LineNr"> 75 </span>    73/jump-if-&gt;=-signed  $allocate:abort/disp8
 <span id="L76" class="LineNr"> 76 </span><span class="Constant">$allocate:commit</span>:
 <span id="L77" class="LineNr"> 77 </span>    <span class="subxComment"># update ad-&gt;curr</span>
 <span id="L78" class="LineNr"> 78 </span>    89/copy                         0/mod/indirect  1/rm32/ecx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy edx to *ecx</span>
@@ -257,7 +257,7 @@ if ('onhashchange' in window) {
 <span id="L196" class="LineNr">196 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              8/imm32           <span class="subxComment"># add to esp</span>
 <span id="L197" class="LineNr">197 </span>    <span class="subxComment"># if (eax == 0) abort</span>
 <span id="L198" class="LineNr">198 </span>    3d/compare-eax-and  0/imm32
-<span id="L199" class="LineNr">199 </span>    74/jump-if-equal  $allocate-region:abort/disp8
+<span id="L199" class="LineNr">199 </span>    74/jump-if-=  $allocate-region:abort/disp8
 <span id="L200" class="LineNr">200 </span>    <span class="subxComment"># earmark 8 bytes at the start for a new allocation descriptor</span>
 <span id="L201" class="LineNr">201 </span>    <span class="subxS1Comment"># . *eax = eax + 8</span>
 <span id="L202" class="LineNr">202 </span>    89/copy                         3/mod/direct    1/rm32/ecx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/eax  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy eax to ecx</span>