summaryrefslogtreecommitdiff
path: root/04/README.md
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-08 10:17:03 -0500
committerpommicket <pommicket@gmail.com>2022-01-08 10:17:03 -0500
commitd48816e226d5ba081dadbba4bcded92e5c0a23d1 (patch)
treee97ee2cdccf4d241ecb4f6c9cdfac771f694feee /04/README.md
parent5d6b490cce1a99a2541d1fcee101df4331d4d86a (diff)
parentd74f349e27a1ba20bd549362f95915ee6d2dd9d1 (diff)
merge term stuff
Diffstat (limited to '04/README.md')
-rw-r--r--04/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/04/README.md b/04/README.md
index b9ee066..68cd81d 100644
--- a/04/README.md
+++ b/04/README.md
@@ -227,6 +227,9 @@ A *term* is one of:
- `{variable name}` - the value of a (local or global) variable
- `.{label name}` - the address of a label
- `{number}`
+- `&{variable}` - address of variable
+- `*1{variable}` / `*2{variable}` / `*4{variable}` / `*8{variable}` - dereference 1, 2, 4, or 8 bytes
+- `~{term}` - bitwise not
An *l-value* is the left-hand side of an assignment expression,
and it is one of:
@@ -239,9 +242,6 @@ and it is one of:
An *r-value* is an expression, which can be more complicated than a term.
r-values are one of:
- `{term}`
-- `&{variable}` - address of variable
-- `*1{variable}` / `*2{variable}` / `*4{variable}` / `*8{variable}` - dereference 1, 2, 4, or 8 bytes
-- `~{term}` - bitwise not
- `{function}({term}, {term}, ...)`
- `{term} + {term}`
- `{term} - {term}`