From de5e1931edbfc265c4a6b0d6f50b73648361fa63 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 19 Jul 2021 23:24:03 -0700 Subject: start work on running the Mu toolchain atop Mu --- linux/apps/ex1.subx | 2 +- linux/apps/ex10.subx | 2 +- linux/apps/ex11.subx | 2 +- linux/apps/ex12.subx | 2 +- linux/apps/ex13.subx | 2 +- linux/apps/ex14.subx | 2 +- linux/apps/ex2.subx | 2 +- linux/apps/ex3.subx | 2 +- linux/apps/ex4.subx | 2 +- linux/apps/ex5.subx | 2 +- linux/apps/ex6.subx | 2 +- linux/apps/ex7.subx | 2 +- linux/apps/ex8.subx | 2 +- linux/apps/ex9.subx | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/linux/apps/ex1.subx b/linux/apps/ex1.subx index 0406dbe8..9661993d 100644 --- a/linux/apps/ex1.subx +++ b/linux/apps/ex1.subx @@ -4,7 +4,7 @@ # Same as https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html # # To run: -# $ bootstrap/bootstrap translate apps/ex1.subx -o ex1 +# $ bootstrap/bootstrap translate 000init.subx apps/ex1.subx -o ex1 # $ bootstrap/bootstrap run ex1 # Expected result: # $ echo $? diff --git a/linux/apps/ex10.subx b/linux/apps/ex10.subx index c4ce7e2d..71fa4c0e 100644 --- a/linux/apps/ex10.subx +++ b/linux/apps/ex10.subx @@ -1,7 +1,7 @@ # String comparison: return 1 iff the two args passed in at the commandline are equal. # # To run: -# $ bootstrap/bootstrap translate apps/ex10.subx -o ex10 +# $ bootstrap/bootstrap translate 000init.subx apps/ex10.subx -o ex10 # $ bootstrap/bootstrap run ex10 abc abd # Expected result: # $ echo $? diff --git a/linux/apps/ex11.subx b/linux/apps/ex11.subx index 0ec5cc1a..dd16267d 100644 --- a/linux/apps/ex11.subx +++ b/linux/apps/ex11.subx @@ -6,7 +6,7 @@ # a null-terminated 'kernel string' with a size-prefixed 'SubX string'. # # To run: -# $ bootstrap/bootstrap translate apps/ex11.subx -o ex11 +# $ bootstrap/bootstrap translate 000init.subx apps/ex11.subx -o ex11 # $ bootstrap/bootstrap run ex11 # runs a series of tests # ...... # all tests pass # diff --git a/linux/apps/ex12.subx b/linux/apps/ex12.subx index 476d8cda..b9708324 100644 --- a/linux/apps/ex12.subx +++ b/linux/apps/ex12.subx @@ -2,7 +2,7 @@ # Create a new segment using mmap, save the address, write to it. # # To run: -# $ bootstrap/bootstrap translate apps/ex12.subx -o ex12 +# $ bootstrap/bootstrap translate 000init.subx apps/ex12.subx -o ex12 # $ bootstrap/bootstrap run ex12 # You shouldn't get a segmentation fault. diff --git a/linux/apps/ex13.subx b/linux/apps/ex13.subx index 56028a05..28ab4694 100644 --- a/linux/apps/ex13.subx +++ b/linux/apps/ex13.subx @@ -1,7 +1,7 @@ # Compare 3 and 3. # # To run: -# $ bootstrap/bootstrap translate apps/ex13.subx -o ex13 +# $ bootstrap/bootstrap translate 000init.subx apps/ex13.subx -o ex13 # $ bootstrap/bootstrap run ex13 # Expected result: # $ echo $? diff --git a/linux/apps/ex14.subx b/linux/apps/ex14.subx index 70aa8629..b6be70d7 100644 --- a/linux/apps/ex14.subx +++ b/linux/apps/ex14.subx @@ -1,7 +1,7 @@ # Multiply 2 numbers. # # To run: -# $ bootstrap/bootstrap translate apps/ex14.subx -o ex14 +# $ bootstrap/bootstrap translate 000init.subx apps/ex14.subx -o ex14 # $ bootstrap/bootstrap run ex14 # Expected result: # $ echo $? diff --git a/linux/apps/ex2.subx b/linux/apps/ex2.subx index 40955104..342ec6c6 100644 --- a/linux/apps/ex2.subx +++ b/linux/apps/ex2.subx @@ -1,7 +1,7 @@ # Add 3 and 4, and return the result in the exit code. # # To run: -# $ bootstrap/bootstrap translate apps/ex2.subx -o ex2 +# $ bootstrap/bootstrap translate 000init.subx apps/ex2.subx -o ex2 # $ bootstrap/bootstrap run ex2 # Expected result: # $ echo $? diff --git a/linux/apps/ex3.subx b/linux/apps/ex3.subx index f4b5fed7..6e1b71ef 100644 --- a/linux/apps/ex3.subx +++ b/linux/apps/ex3.subx @@ -1,7 +1,7 @@ # Add the first 10 numbers, and return the result in the exit code. # # To run: -# $ bootstrap/bootstrap translate apps/ex3.subx -o ex3 +# $ bootstrap/bootstrap translate 000init.subx apps/ex3.subx -o ex3 # $ bootstrap/bootstrap run ex3 # Expected result: # $ echo $? diff --git a/linux/apps/ex4.subx b/linux/apps/ex4.subx index 3bf62551..59bf0649 100644 --- a/linux/apps/ex4.subx +++ b/linux/apps/ex4.subx @@ -1,7 +1,7 @@ # Read a character from stdin, save it to a global, write it to stdout. # # To run: -# $ bootstrap/bootstrap translate apps/ex4.subx -o ex4 +# $ bootstrap/bootstrap translate 000init.subx apps/ex4.subx -o ex4 # $ bootstrap/bootstrap run ex4 == data diff --git a/linux/apps/ex5.subx b/linux/apps/ex5.subx index 220a4246..ec68b855 100644 --- a/linux/apps/ex5.subx +++ b/linux/apps/ex5.subx @@ -1,7 +1,7 @@ # Read a character from stdin, save it to a local on the stack, write it to stdout. # # To run: -# $ bootstrap/bootstrap translate apps/ex5.subx -o ex5 +# $ bootstrap/bootstrap translate 000init.subx apps/ex5.subx -o ex5 # $ bootstrap/bootstrap run ex5 == code diff --git a/linux/apps/ex6.subx b/linux/apps/ex6.subx index cf6309e6..d4e7a656 100644 --- a/linux/apps/ex6.subx +++ b/linux/apps/ex6.subx @@ -1,7 +1,7 @@ # Print out a (global variable) string to stdout. # # To run: -# $ bootstrap/bootstrap translate apps/ex6.subx -o ex6 +# $ bootstrap/bootstrap translate 000init.subx apps/ex6.subx -o ex6 # $ bootstrap/bootstrap run ex6 # Hello, world! diff --git a/linux/apps/ex7.subx b/linux/apps/ex7.subx index c14fc19d..99f01e0d 100644 --- a/linux/apps/ex7.subx +++ b/linux/apps/ex7.subx @@ -5,7 +5,7 @@ # the character read. # # To run: -# $ bootstrap/bootstrap translate apps/ex7.subx -o ex7 +# $ bootstrap/bootstrap translate 000init.subx apps/ex7.subx -o ex7 # $ bootstrap/bootstrap run ex7 # Expected result: # $ echo $? diff --git a/linux/apps/ex8.subx b/linux/apps/ex8.subx index 2d962be4..318f6dee 100644 --- a/linux/apps/ex8.subx +++ b/linux/apps/ex8.subx @@ -1,7 +1,7 @@ # Example reading commandline arguments: compute length of first arg. # # To run: -# $ bootstrap/bootstrap translate apps/ex8.subx -o ex8 +# $ bootstrap/bootstrap translate 000init.subx apps/ex8.subx -o ex8 # $ bootstrap/bootstrap run ex8 abc de fghi # Expected result: # $ echo $? diff --git a/linux/apps/ex9.subx b/linux/apps/ex9.subx index 27520191..e1d2bf74 100644 --- a/linux/apps/ex9.subx +++ b/linux/apps/ex9.subx @@ -4,7 +4,7 @@ # letter of second arg. # # To run: -# $ bootstrap/bootstrap translate apps/ex9.subx -o ex9 +# $ bootstrap/bootstrap translate 000init.subx apps/ex9.subx -o ex9 # $ bootstrap/bootstrap run ex9 z x # Expected result: # $ echo $? -- cgit 1.4.1-2-gfad0