summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index d21df82..07cb0b6 100644
--- a/readme.md
+++ b/readme.md
@@ -239,6 +239,15 @@ store the 8 bit value u into the memory address a.
### `c@ ( a -- c )`
fetch the 8 bit value at memory address a.
+### `cell+ ( u -- u' )`
+increment u by the size of one cell.
+
+### `cell- ( u -- u' )`
+decrement u by the size of one cell.
+
+### `cells ( u -- u' )`
+transform an amount of cells into an amount of bytes.
+
### `char ( "c" -- c )`
yield the value of the first character of the next word in the input stream.
@@ -429,6 +438,9 @@ write u characters at a to output.
### `until ( ? -- ) IMMEDIATE`
if the given flag is true, loop back to `begin`.
+### `variable ( "name" -- )`
+create a variable word, which yields an address that can be written and read.
+
### `while ( ? -- ) IMMEDIATE`
if given flag is true, continue the current begin-while-repeat loop,
otherwise branch to after.