about summary refs log tree commit diff stats
path: root/html/subx/071read-line.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/subx/071read-line.subx.html')
-rw-r--r--html/subx/071read-line.subx.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/html/subx/071read-line.subx.html b/html/subx/071read-line.subx.html
index f8124921..ae319294 100644
--- a/html/subx/071read-line.subx.html
+++ b/html/subx/071read-line.subx.html
@@ -84,7 +84,7 @@ if ('onhashchange' in window) {
 <span id="L23" class="LineNr"> 23 </span>    <span class="subxComment">#     s-&gt;data[s-&gt;write] = AL</span>
 <span id="L24" class="LineNr"> 24 </span>    <span class="subxComment">#     ++f-&gt;read</span>
 <span id="L25" class="LineNr"> 25 </span>    <span class="subxComment">#     ++s-&gt;write</span>
-<span id="L26" class="LineNr"> 26 </span>    <span class="subxComment">#     if AL == '\n' break</span>
+<span id="L26" class="LineNr"> 26 </span>    <span class="subxComment">#     if (AL == '\n') break</span>
 <span id="L27" class="LineNr"> 27 </span>    <span class="subxS1Comment"># . prolog</span>
 <span id="L28" class="LineNr"> 28 </span>    55/push-EBP
 <span id="L29" class="LineNr"> 29 </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>
@@ -126,8 +126,8 @@ if ('onhashchange' in window) {
 <span id="L65" class="LineNr"> 65 </span>    e8/call  <a href='060read.subx.html#L55'>read</a>/disp32
 <span id="L66" class="LineNr"> 66 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L67" class="LineNr"> 67 </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="L68" class="LineNr"> 68 </span>    <span class="subxComment"># if f-&gt;write == 0 return true</span>
-<span id="L69" class="LineNr"> 69 </span>    <span class="subxS1Comment"># . if EAX == 0 return true</span>
+<span id="L68" class="LineNr"> 68 </span>    <span class="subxComment"># if (f-&gt;write == 0) return true</span>
+<span id="L69" class="LineNr"> 69 </span>    <span class="subxS1Comment"># . if (EAX == 0) return true</span>
 <span id="L70" class="LineNr"> 70 </span>    81          7/subop/compare     3/mod/direct    0/rm32/EAX   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              0/imm32           <span class="subxComment"># compare EAX</span>
 <span id="L71" class="LineNr"> 71 </span>    75/jump-if-not-equal  $read-line:from-stream/disp8
 <span id="L72" class="LineNr"> 72 </span>    b8/copy-to-EAX  0xffffffff/imm32
@@ -142,7 +142,7 @@ if ('onhashchange' in window) {
 <span id="L81" class="LineNr"> 81 </span>    41/increment-ECX
 <span id="L82" class="LineNr"> 82 </span>    <span class="subxComment"># ++s-&gt;write</span>
 <span id="L83" class="LineNr"> 83 </span>    42/increment-EDX
-<span id="L84" class="LineNr"> 84 </span>    <span class="subxComment"># if AL == '\n' return false</span>
+<span id="L84" class="LineNr"> 84 </span>    <span class="subxComment"># if (AL == '\n') return false</span>
 <span id="L85" class="LineNr"> 85 </span>    81          7/subop/compare     3/mod/direct    0/rm32/EAX   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              0xa/imm32         <span class="subxComment"># compare EAX</span>
 <span id="L86" class="LineNr"> 86 </span>    75/jump-if-not-equal  $read-line:loop/disp8
 <span id="L87" class="LineNr"> 87 </span>    31/xor                          3/mod/direct    0/rm32/EAX   <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"># clear EAX</span>