diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-04 12:12:18 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-04 12:12:18 -0800 |
commit | 707935d0a83446380abee0c6477328166841793e (patch) | |
tree | d3c07ba2e2700520ec325f2da8b3dd96ae342542 | |
parent | af5797eeffdcec43198337f60571ff4ac5f80228 (diff) | |
download | mu-707935d0a83446380abee0c6477328166841793e.tar.gz |
4839
-rw-r--r-- | html/subx/055trace.subx.html | 4 | ||||
-rw-r--r-- | subx/055trace.subx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/html/subx/055trace.subx.html b/html/subx/055trace.subx.html index c0bcedf5..03af8e3c 100644 --- a/html/subx/055trace.subx.html +++ b/html/subx/055trace.subx.html @@ -395,13 +395,13 @@ if ('onhashchange' in window) { <span id="L329" class="LineNr">329 </span> <span class="subxComment"># ECX = inend</span> <span id="L330" class="LineNr">330 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none <span class="CommentedCode"> . </span> 1/r32/ECX 0x14/disp8 <span class="CommentedCode"> . </span> <span class="subxComment"># copy *(EBP+20) to ECX</span> <span id="L331" class="LineNr">331 </span><span class="Constant">$_append-4:loop</span>: -<span id="L332" class="LineNr">332 </span> <span class="subxComment"># if ESI/src >= ECX/srcend break</span> +<span id="L332" class="LineNr">332 </span> <span class="subxComment"># if ESI/in >= ECX/inend break</span> <span id="L333" class="LineNr">333 </span> 39/compare 3/mod/direct 6/rm32/ESI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 1/r32/ECX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># compare ESI with ECX</span> <span id="L334" class="LineNr">334 </span> 7d/jump-if-greater-or-equal $_append-4:end/disp8 <span id="L335" class="LineNr">335 </span> <span class="subxComment"># if EDI/out >= EDX/outend break (for now silently ignore filled up buffer)</span> <span id="L336" class="LineNr">336 </span> 39/compare 3/mod/direct 7/rm32/EDI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># compare EDI with EDX</span> <span id="L337" class="LineNr">337 </span> 7d/jump-if-greater-or-equal $_append-4:end/disp8 -<span id="L338" class="LineNr">338 </span> <span class="subxComment"># copy one byte from ESI/src to EDI/out</span> +<span id="L338" class="LineNr">338 </span> <span class="subxComment"># copy one byte from ESI/in to EDI/out</span> <span id="L339" class="LineNr">339 </span> 8a/copy-byte 0/mod/indirect 6/rm32/ESI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 3/r32/BL <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># copy byte at *ESI to BL</span> <span id="L340" class="LineNr">340 </span> 88/copy-byte 0/mod/indirect 7/rm32/EDI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 3/r32/BL <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># copy byte at BL to *EDI</span> <span id="L341" class="LineNr">341 </span> <span class="subxComment"># updates</span> diff --git a/subx/055trace.subx b/subx/055trace.subx index f502f18a..d3a2d698 100644 --- a/subx/055trace.subx +++ b/subx/055trace.subx @@ -329,13 +329,13 @@ _append-4: # out : address, outend : address, in : address, inend : address -> # ECX = inend 8b/copy 1/mod/*+disp8 4/rm32/sib 5/base/EBP 4/index/none . 1/r32/ECX 0x14/disp8 . # copy *(EBP+20) to ECX $_append-4:loop: - # if ESI/src >= ECX/srcend break + # if ESI/in >= ECX/inend break 39/compare 3/mod/direct 6/rm32/ESI . . . 1/r32/ECX . . # compare ESI with ECX 7d/jump-if-greater-or-equal $_append-4:end/disp8 # if EDI/out >= EDX/outend break (for now silently ignore filled up buffer) 39/compare 3/mod/direct 7/rm32/EDI . . . 2/r32/EDX . . # compare EDI with EDX 7d/jump-if-greater-or-equal $_append-4:end/disp8 - # copy one byte from ESI/src to EDI/out + # copy one byte from ESI/in to EDI/out 8a/copy-byte 0/mod/indirect 6/rm32/ESI . . . 3/r32/BL . . # copy byte at *ESI to BL 88/copy-byte 0/mod/indirect 7/rm32/EDI . . . 3/r32/BL . . # copy byte at BL to *EDI # updates |