diff options
Diffstat (limited to 'html/subx/examples/ex9.subx.html')
-rw-r--r-- | html/subx/examples/ex9.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/subx/examples/ex9.subx.html b/html/subx/examples/ex9.subx.html index 6665f520..78d8323e 100644 --- a/html/subx/examples/ex9.subx.html +++ b/html/subx/examples/ex9.subx.html @@ -82,8 +82,8 @@ if ('onhashchange' in window) { <span id="L26" class="LineNr">26 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 3/r32/EBX 0xc/disp8 <span class="Delimiter"> . </span> <span class="Comment"># copy *(ESP+12) to EBX</span> <span id="L27" class="LineNr">27 </span> <span class="Comment"># call string_equal(s1, s2)</span> <span id="L28" class="LineNr">28 </span> <span class="Comment"># push args</span> -<span id="L29" class="LineNr">29 </span> 50/push <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Comment"># push EAX</span> -<span id="L30" class="LineNr">30 </span> 53/push <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Comment"># push EBX</span> +<span id="L29" class="LineNr">29 </span> 50/push-EAX +<span id="L30" class="LineNr">30 </span> 53/push-EBX <span id="L31" class="LineNr">31 </span> <span class="Comment"># call</span> <span id="L32" class="LineNr">32 </span> e8/call ascii_difference/disp32 <span id="L33" class="LineNr">33 </span> <span class="Comment"># discard args</span> @@ -95,7 +95,7 @@ if ('onhashchange' in window) { <span id="L39" class="LineNr">39 </span> <span id="L40" class="LineNr">40 </span>ascii_difference: <span class="Comment"># (s1, s2) : null-terminated ascii strings</span> <span id="L41" class="LineNr">41 </span> <span class="Comment"># a = first letter of s1 (ECX)</span> -<span id="L42" class="LineNr">42 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 0/r32/EAX 8/disp8 <span class="Comment"># copy *(ESP+8) to EAX</span> +<span id="L42" class="LineNr">42 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 0/r32/EAX 8/disp8 <span class="Delimiter"> . </span> <span class="Comment"># copy *(ESP+8) to EAX</span> <span id="L43" class="LineNr">43 </span> 8b/copy 0/mod/indirect 0/rm32/EAX <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> 0/r32/EAX <span class="Delimiter"> . </span> <span class="Delimiter"> . </span> <span class="Comment"># copy *EAX to EAX</span> <span id="L44" class="LineNr">44 </span> <span class="Comment"># b = first letter of s2 (EDX)</span> <span id="L45" class="LineNr">45 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 1/r32/ECX 4/disp8 <span class="Comment"># copy *(ESP+4) to ECX</span> |