about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/apps/factorial.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index fa0d58b2..8eac94bc 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -64,7 +64,7 @@ factorial:
   # if (n <= 1) jump exit
   81          7/subop/compare     1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           .           8/disp8         1/imm32           # compare *(EBP+8)
   7e/jump-if-<=  $factorial:exit/disp8
-  # EBX: n-1
+  # EBX = n-1
   8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none              3/r32/EBX   8/disp8         .                 # copy *(EBP+8) to EBX
   81          5/subop/subtract    3/mod/direct    3/rm32/EBX    .           .             .           .           .               1/imm32           # subtract from EBX
   # EAX = factorial(n-1)