diff options
Diffstat (limited to 'html/apps/ex10.subx.html')
-rw-r--r-- | html/apps/ex10.subx.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/apps/ex10.subx.html b/html/apps/ex10.subx.html index 79fbfc5c..d12a00cf 100644 --- a/html/apps/ex10.subx.html +++ b/html/apps/ex10.subx.html @@ -92,7 +92,7 @@ if ('onhashchange' in window) { <span id="L33" class="LineNr">33 </span> <span id="L34" class="LineNr">34 </span><span class="subxComment"># compare two null-terminated ascii strings</span> <span id="L35" class="LineNr">35 </span><span class="subxComment"># reason for the name: the only place we should have null-terminated ascii strings is from commandline args</span> -<span id="L36" class="LineNr">36 </span><span class="subxFunction">argv-equal</span>: <span class="subxComment"># (s1, s2) : null-terminated ascii strings -> eax : boolean</span> +<span id="L36" class="LineNr">36 </span><span class="subxFunction">argv-equal</span>: <span class="subxComment"># (s1, s2): null-terminated ascii strings -> eax: boolean</span> <span id="L37" class="LineNr">37 </span> <span class="subxComment"># initialize s1 (ecx) and s2 (edx)</span> <span id="L38" class="LineNr">38 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(esp+4) to ecx</span> <span id="L39" class="LineNr">39 </span> 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/esp 4/index/none <span class="Normal"> . </span> 2/r32/edx 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(esp+8) to edx</span> |