about summary refs log tree commit diff stats
path: root/html/057write.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/057write.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/057write.subx.html')
-rw-r--r--html/057write.subx.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/057write.subx.html b/html/057write.subx.html
index 5cbcd69a..d890be19 100644
--- a/html/057write.subx.html
+++ b/html/057write.subx.html
@@ -87,7 +87,7 @@ if ('onhashchange' in window) {
 <span id="L27" class="LineNr"> 27 </span>    89/copy                         3/mod/direct    5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          4/r32/esp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy esp to ebp</span>
 <span id="L28" class="LineNr"> 28 </span>    <span class="subxComment"># if (f &lt; 0x08000000) _write(f, s) and return  # f can't be a user-mode address, so treat it as a kernel file descriptor</span>
 <span id="L29" class="LineNr"> 29 </span>    81          7/subop/compare     1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>          8/disp8         0x08000000/imm32  <span class="subxComment"># compare *(ebp+8)</span>
-<span id="L30" class="LineNr"> 30 </span>    73/jump-if-greater-unsigned-or-equal  $write:fake/disp8
+<span id="L30" class="LineNr"> 30 </span>    73/jump-if-addr&gt;=  $write:fake/disp8
 <span id="L31" class="LineNr"> 31 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L32" class="LineNr"> 32 </span>    ff          6/subop/push        1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>          0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># push *(ebp+12)</span>
 <span id="L33" class="LineNr"> 33 </span>    ff          6/subop/push        1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>          8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># push *(ebp+8)</span>