diff options
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -28,6 +28,11 @@ create a dictionary header for a word named the provided string. this word does not set the code field. this word returns an incompleted xt and does not update latest. +### `( ( -- ) IMMEDIATE` +start a comment which lasts until the next closed bracket. +if the unclosed bracket in the description above bothers you, +have a closing bracket: ). + ### `* ( u1 u2 -- u)` multiply u1 and u2. @@ -112,6 +117,9 @@ store the 8 bit value u into the memory address a. ### `c@ ( a -- c )` fetch the 8 bit value at memory address a. +### `char ( "c" -- c )` +yield the value of the first character of the next word in the input stream. + ### `cmove ( a1 a2 u -- )` copy u bytes of memory from a1 to a2. bytes are copied in low memory to high memory order. @@ -152,6 +160,9 @@ grows, and marks as executable, the user memory space by u bytes. ### `here ( -- a )` yields the address of the first available byte in user memory. +### `immediate ( -- )` +mark the most recently defined word as immediate. + ### `immediate? ( xt -- ? )` true if xt is marked immediate, false otherwise. |
