about summary refs log tree commit diff stats
path: root/subx/apps/crenshaw2-1.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/apps/crenshaw2-1.subx')
-rw-r--r--subx/apps/crenshaw2-1.subx12
1 files changed, 6 insertions, 6 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 259b33a9..6832c6d5 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -40,8 +40,8 @@
   50/push-EAX
     # call
   e8/call  expected/disp32
-    # discard arg
-  81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
+    # discard args
+  81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0xc/imm32         # add to ESP
   # syscall(exit, 0)
   bb/copy-to-EBX  0/imm32
   b8/copy-to-EAX  1/imm32/exit
@@ -59,7 +59,7 @@ expected:  # ed : (address exit-descriptor), f : fd or (address stream), s : (ad
   ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           .           0xc/disp8       .                 # push *(EBP+12)
     # call
   e8/call  write/disp32
-    # discard arg
+    # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
   # write(f, s)
     # push args
@@ -67,7 +67,7 @@ expected:  # ed : (address exit-descriptor), f : fd or (address stream), s : (ad
   ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           .           0xc/disp8       .                 # push *(EBP+12)
     # call
   e8/call  write/disp32
-    # discard arg
+    # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
   # write(f, " expected")
     # push args
@@ -75,7 +75,7 @@ expected:  # ed : (address exit-descriptor), f : fd or (address stream), s : (ad
   ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           .           0xc/disp8       .                 # push *(EBP+12)
     # call
   e8/call  write/disp32
-    # discard arg
+    # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
   # write(f, Newline)
     # push args
@@ -83,7 +83,7 @@ expected:  # ed : (address exit-descriptor), f : fd or (address stream), s : (ad
   ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           .           0xc/disp8       .                 # push *(EBP+12)
     # call
   e8/call  write/disp32
-    # discard arg
+    # discard args
   81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
   # stop(ed, 1)
     # push args