diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-01-03 22:38:41 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-01-03 22:38:41 -0800 |
commit | 6dc972270481bc9f1a81f5119c5f0fa7e98a76ad (patch) | |
tree | fa07b400833b4d436722db8af76b807ffc67cf1b | |
parent | cb13d947404e44d23ad0dd51641523be530a8dff (diff) | |
download | mu-6dc972270481bc9f1a81f5119c5f0fa7e98a76ad.tar.gz |
7478
-rw-r--r-- | html/mu_instructions.html | 2 | ||||
-rw-r--r-- | mu_instructions | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/html/mu_instructions.html b/html/mu_instructions.html index 0900e1e7..679446a0 100644 --- a/html/mu_instructions.html +++ b/html/mu_instructions.html @@ -32,7 +32,7 @@ include nested expressions. Variables can be literals ('n'), or live in a register ('var/reg') or in memory ('var') at some 'stack-offset' from the 'ebp' register. Outputs must be registers. To modify a variable in memory, pass it in by reference as an input. (Inputs are more precisely called 'inouts'.) -Conversely, registers that are just read from must not be passed as inputs. +Conversely, registers that are just read from must not be passed as outputs. The following chart shows all the instruction forms supported by Mu, along with the SubX instruction they're translated to. diff --git a/mu_instructions b/mu_instructions index a5336070..945528ad 100644 --- a/mu_instructions +++ b/mu_instructions @@ -8,7 +8,7 @@ include nested expressions. Variables can be literals ('n'), or live in a register ('var/reg') or in memory ('var') at some 'stack-offset' from the 'ebp' register. Outputs must be registers. To modify a variable in memory, pass it in by reference as an input. (Inputs are more precisely called 'inouts'.) -Conversely, registers that are just read from must not be passed as inputs. +Conversely, registers that are just read from must not be passed as outputs. The following chart shows all the instruction forms supported by Mu, along with the SubX instruction they're translated to. |