diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-20 14:47:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-20 14:47:18 -0700 |
commit | c9c5faef241f4fc700c2c4202d938f7f4baec393 (patch) | |
tree | 325073c25dfa67725761a5c5bb7ebdd098e8c2ac /tutorial | |
parent | b367e7f7f960da0b0159a43e30eb98d635689b27 (diff) | |
download | mu-c9c5faef241f4fc700c2c4202d938f7f4baec393.tar.gz |
.
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/index.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tutorial/index.md b/tutorial/index.md index 4188db1e..50f5f24e 100644 --- a/tutorial/index.md +++ b/tutorial/index.md @@ -164,6 +164,9 @@ In programming there is no penalty for making mistakes, and once you arrive at the correct solution you have it forever. As always, [feel free to ping me and ask questions or share your experience](http://akkartik.name/contact). +Mu statements can have _outputs_ on the left (before the `<-`) and _inouts_ on +the right (after the instruction name). + One gotcha to keep in mind is that numbers in Mu must always be in hexadecimal notation, starting with `0x`. Use a calculator on your computer or phone to convert 42 to hexadecimal, or [this page on your web browser](http://akkartik.github.io/mu/tutorial/converter.html). @@ -175,7 +178,8 @@ a second one in memory. To prepare for this, reread the first section of the [Mu syntax description](https://github.com/akkartik/mu/blob/main/mu.md), and then its section on [local variables](https://github.com/akkartik/mu/blob/main/mu.md#local-variables). The section on [integer primitives](https://github.com/akkartik/mu/blob/main/mu.md#integer-primitives) -also provides a useful cheatsheet of the instruction forms you will need. +also provides a useful cheatsheet of the different forms of instructions you +will need. ``` fn foo -> _/eax: int { |