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.