diff options
Diffstat (limited to 'html/apps/ex9.subx.html')
-rw-r--r-- | html/apps/ex9.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/ex9.subx.html b/html/apps/ex9.subx.html index 4ac15f83..c2489a56 100644 --- a/html/apps/ex9.subx.html +++ b/html/apps/ex9.subx.html @@ -98,10 +98,10 @@ if ('onhashchange' in window) { <span id="L40" class="LineNr">40 </span> <span id="L41" class="LineNr">41 </span><span class="subxFunction">ascii-difference</span>: <span class="subxComment"># (s1, s2): null-terminated ascii strings</span> <span id="L42" class="LineNr">42 </span> <span class="subxComment"># a = first letter of s1 (ecx)</span> -<span id="L43" class="LineNr">43 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(esp+4) to eax</span> +<span id="L43" class="LineNr">43 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(esp+4) to eax</span> <span id="L44" class="LineNr">44 </span> 8b/copy 0/mod/indirect 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"># copy *eax to eax</span> <span id="L45" class="LineNr">45 </span> <span class="subxComment"># b = first letter of s2 (edx)</span> -<span id="L46" class="LineNr">46 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none 1/r32/ecx 8/disp8 <span class="subxComment"># copy *(esp+8) to ecx</span> +<span id="L46" class="LineNr">46 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none <span class="Normal"> . </span> 1/r32/ecx 8/disp8 <span class="subxComment"># copy *(esp+8) to ecx</span> <span id="L47" class="LineNr">47 </span> 8b/copy 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *ecx to ecx</span> <span id="L48" class="LineNr">48 </span> <span class="subxComment"># a-b</span> <span id="L49" class="LineNr">49 </span> 29/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># subtract ecx from eax</span> |