From 6dc972270481bc9f1a81f5119c5f0fa7e98a76ad Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 3 Jan 2021 22:38:41 -0800 Subject: 7478 --- html/mu_instructions.html | 2 +- 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. -- cgit 1.4.1-2-gfad0