diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-03-29 18:47:52 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-03-29 18:47:52 -0700 |
commit | 16f2bd1174632659cbad925f7271cd72feef3522 (patch) | |
tree | d3a729b5cdf4413ae7dfc86e15c1f0a63532b943 /subx_bare.md | |
parent | 386641c0212437e719e6601596da82df1d0969e0 (diff) | |
download | mu-16f2bd1174632659cbad925f7271cd72feef3522.tar.gz |
.
Diffstat (limited to 'subx_bare.md')
-rw-r--r-- | subx_bare.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/subx_bare.md b/subx_bare.md index ab909e72..f4e6a03e 100644 --- a/subx_bare.md +++ b/subx_bare.md @@ -79,7 +79,7 @@ and digest it: Here's an example showing these arguments at work: -<img alt='apps/ex3.subx' src='html/ex3.png'> +<img alt='linux/ex3.subx' src='html/ex3.png'> This program sums the first 10 natural numbers. By convention I use horizontal tabstops to help read instructions, dots to help follow the long lines, @@ -151,7 +151,8 @@ $ echo $? 42 # or, automating the above steps -$ ./translate_subx init.linux apps/ex1.subx +$ cd linux +$ ./translate_subx 000init.linux ex1.subx $ ./a.elf $ echo $? 42 @@ -160,7 +161,7 @@ $ echo $? Or, running in a VM on other platforms (much slower): ```sh -$ ./translate_subx_emulated init.linux apps/ex1.subx # generates identical a.elf to above +$ ./translate_subx_emulated init.linux linux/ex1.subx # generates identical a.elf to above $ bootstrap/bootstrap run a.elf $ echo $? 42 |