about summary refs log tree commit diff stats
path: root/subx/examples
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-28 12:41:04 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-28 12:41:04 -0700
commit93be389bef09b8a93a5bb925871a95fd974eafcb (patch)
treee658cabe148bd19c03d2f4ad045b047d02e0a27f /subx/examples
parent425cd42b137bf5ed2269d696711f56cea21282ec (diff)
downloadmu-93be389bef09b8a93a5bb925871a95fd974eafcb.tar.gz
4731
Diffstat (limited to 'subx/examples')
-rw-r--r--subx/examples/ex11.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx
index cd8cdf4d..dc804ebe 100644
--- a/subx/examples/ex11.subx
+++ b/subx/examples/ex11.subx
@@ -272,7 +272,7 @@ check-ints-equal:  # (a : int, b : int, msg : (address array byte)) -> boolean
   68/push  "."/imm32
       # call
   e8/call  write-stderr/disp32
-      # discard arg
+      # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
     # return
   eb/jump  $check-ints-equal:end/disp8
@@ -285,14 +285,14 @@ $check-ints-equal:else:
   51/push-ECX
       # call
   e8/call  write-stderr/disp32
-      # discard arg
+      # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
     # print newline
       # push args
   68/push  Newline/imm32
       # call
   e8/call  write-stderr/disp32
-      # discard arg
+      # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
 $check-ints-equal:end:
   # restore registers