diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-01-30 10:16:33 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-01-30 10:16:33 -0800 |
commit | 070659f9173f547011771ee73633904227e1828a (patch) | |
tree | eb9debc0ee025dfec926fd1c27b562085e56f420 | |
parent | 44bb71e7de835abb5697b6712c79e5f4799fb77c (diff) | |
download | mu-070659f9173f547011771ee73633904227e1828a.tar.gz |
4944
Improve syntax highlighting in the Readme.
-rw-r--r-- | subx/Readme.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/Readme.md b/subx/Readme.md index ed09d502..de7a0fa7 100644 --- a/subx/Readme.md +++ b/subx/Readme.md @@ -21,7 +21,7 @@ by: native execution (which will also work), but there's more sanity checking, and more descriptive error messages for common low-level problems. - ``` + ```sh $ ./subx translate examples/ex1.subx -o examples/ex1 $ ./examples/ex1 # only on Linux $ echo $? @@ -35,7 +35,7 @@ by: very little to do, making it feasible to reimplement in itself. Programmers have to explicitly specify all opcodes and operands. - ``` + ```sh (just for syntax highlighting) # exit(42) bb/copy-to-EBX 0x2a/imm32 # 42 in hex b8/copy-to-EAX 1/imm32/exit @@ -142,7 +142,7 @@ useful to catch such errors early. Try running this example now: -``` +```sh $ ./subx translate examples/ex3.subx -o examples/ex3 $ ./subx run examples/ex3 $ echo $? @@ -151,7 +151,7 @@ $ echo $? If you're on Linux you can also run it natively: -``` +```sh $ ./examples/ex3 $ echo $? 55 |