From c7d45d918ba631c81aaaa84890287d8f9df5bdf5 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 30 Nov 2018 22:57:52 -0800 Subject: 4812 --- subx/apps/crenshaw2-1.subx | 2 +- subx/apps/crenshaw2-1b.subx | 2 +- subx/apps/factorial.subx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'subx') diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx index 42c5b119..d29671da 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -3,7 +3,7 @@ # except that we support hex digits. # # To run (from the subx/ directory): -# $ ./subx translate *.subx apps/crenshaw2-1.subx -o crenshaw2-1 +# $ ./subx translate *.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1 # $ echo '3' |./subx run apps/crenshaw2-1 # Expected output: # # syscall(exit, 3) diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx index 54264d56..a2c48fa1 100644 --- a/subx/apps/crenshaw2-1b.subx +++ b/subx/apps/crenshaw2-1b.subx @@ -3,7 +3,7 @@ # except that we support hex numbers of multiple digits. # # To run (from the subx/ directory): -# $ ./subx translate *.subx apps/crenshaw2-1b.subx -o crenshaw2-1b +# $ ./subx translate *.subx apps/crenshaw2-1b.subx -o apps/crenshaw2-1b # $ echo '1a' |./subx run apps/crenshaw2-1b # Expected output: # # syscall(exit, 1a) diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx index 1e6d7bfb..bf2dd75e 100644 --- a/subx/apps/factorial.subx +++ b/subx/apps/factorial.subx @@ -1,8 +1,8 @@ ## compute the factorial of 5, and return the result in the exit code # # To run (from the subx directory): -# $ subx translate apps/factorial.subx -o apps/factorial -# $ subx run apps/factorial +# $ ./subx translate apps/factorial.subx -o apps/factorial +# $ ./subx run apps/factorial # Expected result: # $ echo $? # 120 -- cgit 1.4.1-2-gfad0