diff options
-rw-r--r-- | html/subx/074print-int-decimal.subx.html | 2 | ||||
-rw-r--r-- | subx/074print-int-decimal.subx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/074print-int-decimal.subx.html b/html/subx/074print-int-decimal.subx.html index 21c14918..e64ed300 100644 --- a/html/subx/074print-int-decimal.subx.html +++ b/html/subx/074print-int-decimal.subx.html @@ -79,7 +79,7 @@ if ('onhashchange' in window) { <span id="L18" class="LineNr"> 18 </span> <span class="subxComment">#</span> <span id="L19" class="LineNr"> 19 </span> <span class="subxComment"># pseudocode:</span> <span id="L20" class="LineNr"> 20 </span> <span class="subxComment"># copy ESP to EBX</span> -<span id="L21" class="LineNr"> 21 </span> <span class="subxComment"># EAX = n</span> +<span id="L21" class="LineNr"> 21 </span> <span class="subxComment"># EAX = |n|</span> <span id="L22" class="LineNr"> 22 </span> <span class="subxComment"># while true</span> <span id="L23" class="LineNr"> 23 </span> <span class="subxComment"># if (EAX == 0) break</span> <span id="L24" class="LineNr"> 24 </span> <span class="subxComment"># sign-extend EAX into EDX</span> diff --git a/subx/074print-int-decimal.subx b/subx/074print-int-decimal.subx index d9d06f2d..eceb32b6 100644 --- a/subx/074print-int-decimal.subx +++ b/subx/074print-int-decimal.subx @@ -18,7 +18,7 @@ print-int32-decimal: # out : (address stream), n : int32 # # pseudocode: # copy ESP to EBX - # EAX = n + # EAX = |n| # while true # if (EAX == 0) break # sign-extend EAX into EDX |