about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/074print-int-decimal.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/074print-int-decimal.subx b/subx/074print-int-decimal.subx
index eceb32b6..d4617aba 100644
--- a/subx/074print-int-decimal.subx
+++ b/subx/074print-int-decimal.subx
@@ -25,10 +25,10 @@ print-int32-decimal:  # out : (address stream), n : int32
     #     EAX, EDX = EAX/10, EAX%10
     #     push EDX
     #   if n < 0
-    #     push '-' - 0x30 = -3
+    #     push '-' - '0' = -3
+    #   max/ECX = &out->data[out->length]
     #   w/EAX = out->write
-    #   max/ECX = out->length
-    #   curr/EDI = out->data[out->write]
+    #   curr/EDI = &out->data[out->write]
     #   while true
     #     if (ESP == EBX) break
     #     if (curr >= max) abort