diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-08-20 23:23:45 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-08-20 23:23:45 -0700 |
commit | d2c239e1fa07f8d72f4ec5e27e56abbb4395306e (patch) | |
tree | 1d7e6c2048fb9c1c124818710bae1f08a0b7ca71 /html/subx/ex3.subx.html | |
parent | b5737fc0efcd929dc6a66afd0b9537b44ce1290a (diff) | |
download | mu-d2c239e1fa07f8d72f4ec5e27e56abbb4395306e.tar.gz |
4525
Diffstat (limited to 'html/subx/ex3.subx.html')
-rw-r--r-- | html/subx/ex3.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/subx/ex3.subx.html b/html/subx/ex3.subx.html index 56cde00c..24ee6230 100644 --- a/html/subx/ex3.subx.html +++ b/html/subx/ex3.subx.html @@ -73,12 +73,12 @@ if ('onhashchange' in window) { <span id="L18" class="LineNr">18 </span> <span id="L19" class="LineNr">19 </span>$loop: <span id="L20" class="LineNr">20 </span> <span class="Comment"># while (counter <= 10)</span> -<span id="L21" class="LineNr">21 </span> 81 7/subop/compare 3/mod/direct 1/rm32/ecx 0xa/imm32 <span class="Comment"># compare ECX, 10/imm</span> +<span id="L21" class="LineNr">21 </span> 81 7/subop/compare 3/mod/direct 1/rm32/ECX 0xa/imm32 <span class="Comment"># compare ECX, 10/imm</span> <span id="L22" class="LineNr">22 </span> 7f/jump-if $exit/disp8 <span class="Comment"># jump-if-greater $exit</span> <span id="L23" class="LineNr">23 </span> <span class="Comment"># result += counter</span> -<span id="L24" class="LineNr">24 </span> 01/add 3/mod/direct 3/rm32/ebx 1/r32/ecx <span class="Comment"># add ECX to EBX</span> +<span id="L24" class="LineNr">24 </span> 01/add 3/mod/direct 3/rm32/EBX 1/r32/ECX <span class="Comment"># add ECX to EBX</span> <span id="L25" class="LineNr">25 </span> <span class="Comment"># ++counter</span> -<span id="L26" class="LineNr">26 </span> 81 0/subop/add 3/mod/direct 1/rm32/ecx 1/imm32 <span class="Comment"># add 1 to ECX</span> +<span id="L26" class="LineNr">26 </span> 81 0/subop/add 3/mod/direct 1/rm32/ECX 1/imm32 <span class="Comment"># add 1 to ECX</span> <span id="L27" class="LineNr">27 </span> <span class="Comment"># loop</span> <span id="L28" class="LineNr">28 </span> eb/jump $loop/disp8 <span class="Comment"># jump $loop</span> <span id="L29" class="LineNr">29 </span> |