diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 00:00:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 00:00:23 -0700 |
commit | 1cfaf7537c6ebfa72a320eaa130b0d597c67219b (patch) | |
tree | dc5ff9d965c57ff396ea9856d50cfada2766d4fd | |
parent | 00438cd8a0f40fa60ab0d91720a846a1dc0d1c65 (diff) | |
download | mu-1cfaf7537c6ebfa72a320eaa130b0d597c67219b.tar.gz |
.
-rw-r--r-- | mu.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mu.md b/mu.md index b7a62c2b..f6d0063b 100644 --- a/mu.md +++ b/mu.md @@ -101,11 +101,12 @@ Other miscellaneous restrictions: These usually operate on variables with 32-bit types, with some restrictions noted below. Most instructions with multiple args require types to match. -Notation in this section: - - `var/reg` indicates a variable in a register - - `var/xreg` indicates a variable in a floating-point register +Some notation for describing statement forms: + - `var/reg` indicates a variable in some register. Sometimes we require a + variable in a specific register, e.g. `var/eax`. + - `var/xreg` indicates a variable in some floating-point register. - `var` without a `reg` indicates either a variable on the stack or - dereferencing a variable in a (non-floating-point) register: `*var/reg` + dereferencing a variable in a (non-floating-point) register: `*var/reg`. - `n` indicates a literal integer. There are no floating-point literals. ### Moving values around |