diff options
| author | kitty <nepeta@canaglie.net> | 2026-03-23 02:22:28 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-03-23 02:22:28 +1100 |
| commit | 3d319290a949768b312e8464b0e5cc0c9a32ae50 (patch) | |
| tree | 8fb9756628afb4b340563de859c0a520c0caa95c /readme.md | |
| parent | 4d9ef994097166a21febb181682c73985089eddd (diff) | |
fix broken allot, variable
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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. |
