about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-02 16:58:30 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-02 16:58:30 -0800
commit0043952064be14219ca6c428802467b49e6018a3 (patch)
treeb93f25aa54a27080904510b7e7bf222dabca4410 /subx/apps
parentc98d4b1c6ae2d103acc7b4f15e4dc6336f30de17 (diff)
downloadmu-0043952064be14219ca6c428802467b49e6018a3.tar.gz
4819
Diffstat (limited to 'subx/apps')
-rw-r--r--subx/apps/crenshaw2-1.subx2
-rw-r--r--subx/apps/crenshaw2-1b.subx6
-rw-r--r--subx/apps/factorial.subx2
3 files changed, 5 insertions, 5 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 3688ef34..a246a594 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -375,7 +375,7 @@ test-get-num-reads-single-digit:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3')
+    # check-ints-equal(*_test-output-stream->data, '3', msg)
     # . . push args
     68/push  "F - test-get-num-reads-single-digit"/imm32
     68/push  0x33/imm32
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx
index d6fc6dee..08786b90 100644
--- a/subx/apps/crenshaw2-1b.subx
+++ b/subx/apps/crenshaw2-1b.subx
@@ -392,7 +392,7 @@ test-get-num-reads-single-digit:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3')
+    # check-ints-equal(*_test-output-stream->data, '3', msg)
     # . . push args
     68/push  "F - test-get-num-reads-single-digit"/imm32
     68/push  0x33/imm32
@@ -568,7 +568,7 @@ test-get-num-reads-multiple-digits:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3456')
+    # check-ints-equal(*_test-output-stream->data, '3456', msg)
     # . . push args
     68/push  "F - test-get-num-reads-multiple-digits"/imm32
     68/push  0x36353433/imm32
@@ -659,7 +659,7 @@ test-get-num-reads-multiple-digits-followed-by-nondigit:
     # registers except ESP may be clobbered at this point
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
-    # check-ints-equal(*_test-output-stream->data, '3456')
+    # check-ints-equal(*_test-output-stream->data, '3456', msg)
     # . . push args
     68/push  "F - test-get-num-reads-multiple-digits-followed-by-nondigit"/imm32
     68/push  0x36353433/imm32
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index bf2dd75e..73735fab 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -93,7 +93,7 @@ test-factorial:
     e8/call  factorial/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
-    # check-ints-equal(EAX, 120, failure message)
+    # check-ints-equal(EAX, 120, msg)
     # . . push args
     68/push  "F - test-factorial"/imm32
     68/push  0x78/imm32/expected-120