diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:39:46 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:39:46 -0800 |
commit | 2104d1a75b76dbffc0b15a96c98d94e7a16594e8 (patch) | |
tree | 2a839b86e76431a9bbe4bf155f7411171a26d7f8 /html/apps/factorial4.subx.html | |
parent | 71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff) | |
download | mu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz |
5925
Diffstat (limited to 'html/apps/factorial4.subx.html')
-rw-r--r-- | html/apps/factorial4.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/factorial4.subx.html b/html/apps/factorial4.subx.html index db3331d9..8759c2f9 100644 --- a/html/apps/factorial4.subx.html +++ b/html/apps/factorial4.subx.html @@ -114,7 +114,7 @@ if ('onhashchange' in window) { <span id="L55" class="LineNr">55 </span> b8/copy-to-eax 1/imm32/exit <span id="L56" class="LineNr">56 </span> cd/syscall 0x80/imm8 <span id="L57" class="LineNr">57 </span> -<span id="L58" class="LineNr">58 </span><span class="subxFunction">factorial</span>: <span class="subxComment"># n : int -> int/eax</span> +<span id="L58" class="LineNr">58 </span><span class="subxFunction">factorial</span>: <span class="subxComment"># n: int -> int/eax</span> <span id="L59" class="LineNr">59 </span> <span class="subxS1Comment"># . prologue</span> <span id="L60" class="LineNr">60 </span> 55/push-ebp <span id="L61" class="LineNr">61 </span> 89/<- %ebp 4/r32/esp @@ -129,7 +129,7 @@ if ('onhashchange' in window) { <span id="L70" class="LineNr">70 </span> <span class="subxComment"># if (n > 1) return n * factorial(n-1)</span> <span id="L71" class="LineNr">71 </span> { <span id="L72" class="LineNr">72 </span> 7e/jump-if-<= <span class="Constant">break</span>/disp8 -<span id="L73" class="LineNr">73 </span> <span class="subxComment"># var ebx : int = n-1</span> +<span id="L73" class="LineNr">73 </span> <span class="subxComment"># var ebx: int = n-1</span> <span id="L74" class="LineNr">74 </span> 8b/-> *(ebp+8) 3/r32/ebx <span id="L75" class="LineNr">75 </span> 4b/decrement-ebx <span id="L76" class="LineNr">76 </span> (<a href='factorial4.subx.html#L58'>factorial</a> %ebx) <span class="subxComment"># => eax</span> |