This commit is contained in:
Kartik Agaram 2021-01-03 22:38:41 -08:00
parent cb13d94740
commit 6dc9722704
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.