From 0043952064be14219ca6c428802467b49e6018a3 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 2 Dec 2018 16:58:30 -0800 Subject: 4819 --- subx/apps/crenshaw2-1.subx | 2 +- subx/apps/crenshaw2-1b.subx | 6 +++--- subx/apps/factorial.subx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'subx/apps') 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 -- cgit 1.4.1-2-gfad0 'n17' href='#n17'>17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82