about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-23 21:08:17 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-23 21:08:17 -0700
commitcaa6fd200cff39257572c0b3a9915903868904c4 (patch)
tree4792dfb51431a3d7e0f003b876072ad5215405c7
parent9757d107c7ff203265826193c0350e4a11294f86 (diff)
downloadmu-caa6fd200cff39257572c0b3a9915903868904c4.tar.gz
5121
-rw-r--r--html/subx/074print-int-decimal.subx.html2
-rw-r--r--subx/074print-int-decimal.subx2
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