diff options
Diffstat (limited to 'subx/apps')
-rw-r--r-- | subx/apps/factorial.subx | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx index c8de4790..9aef6634 100644 --- a/subx/apps/factorial.subx +++ b/subx/apps/factorial.subx @@ -94,7 +94,7 @@ test_factorial: 75/jump-if-unequal . . . . . . $test_factorial:else/disp8 # print('.') # push args - 68/push Test_passed/imm32 + 68/push "."/imm32 # call e8/call write_stderr/disp32 # discard arg @@ -105,7 +105,7 @@ test_factorial: $test_factorial:else: # print('F') # push args - 68/push Test_failed/imm32 + 68/push "F"/imm32 # call e8/call write_stderr/disp32 # discard arg @@ -181,16 +181,4 @@ Test_argv: # null-terminated # data 74/t 65/e 73/s 74/t 00/null -Test_passed: - # size - 01 00 00 00 - # data - 2e/dot - -Test_failed: - # size - 01 00 00 00 - # data - 46/F - # vim:ft=subx:nowrap:so=0 |