diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-01-07 13:36:15 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-01-07 13:36:15 -0800 |
commit | 96a6bac52d6f4a67932e54d25166bf7961718e9d (patch) | |
tree | ca35d65154852542b7b5717fd45e02532ce97ea4 /html/subx/062write-byte.subx.html | |
parent | 74a46597aad859875327809e885be09e983d24ea (diff) | |
download | mu-96a6bac52d6f4a67932e54d25166bf7961718e9d.tar.gz |
4914
Diffstat (limited to 'html/subx/062write-byte.subx.html')
-rw-r--r-- | html/subx/062write-byte.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/062write-byte.subx.html b/html/subx/062write-byte.subx.html index 606e12fe..f53db7ba 100644 --- a/html/subx/062write-byte.subx.html +++ b/html/subx/062write-byte.subx.html @@ -127,11 +127,11 @@ if ('onhashchange' in window) { <span id="L66" class="LineNr"> 66 </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> 4/imm32 <span class="subxComment"># add to ESP</span> <span id="L67" class="LineNr"> 67 </span><span class="Constant">$write-byte:to-stream</span>: <span id="L68" class="LineNr"> 68 </span> <span class="subxComment"># write to stream</span> -<span id="L69" class="LineNr"> 69 </span> <span class="subxComment"># f->data[f->read] = LSB(n)</span> +<span id="L69" class="LineNr"> 69 </span> <span class="subxComment"># f->data[f->write] = LSB(n)</span> <span id="L70" class="LineNr"> 70 </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> <span id="L71" class="LineNr"> 71 </span> 8a/copy-byte 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy byte at *(EBP+12) to AL</span> <span id="L72" class="LineNr"> 72 </span> 88/copy-byte 1/mod/*+disp8 4/rm32/sib 7/base/EDI 1/index/ECX <span class="Normal"> . </span> 0/r32/AL 0x10/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy AL to *(EDI+ECX+16)</span> -<span id="L73" class="LineNr"> 73 </span> <span class="subxComment"># ++f->read</span> +<span id="L73" class="LineNr"> 73 </span> <span class="subxComment"># ++f->write</span> <span id="L74" class="LineNr"> 74 </span> ff 0/subop/increment 1/mod/*+disp8 7/rm32/EDI <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># increment *(EDI+4)</span> <span id="L75" class="LineNr"> 75 </span><span class="Constant">$write-byte:end</span>: <span id="L76" class="LineNr"> 76 </span> <span class="subxS1Comment"># . restore registers</span> |