diff options
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -108,6 +108,11 @@ in the input buffer. ### `>r ( u -- ) ( R: -- u )` move a value from the working stack to the return stack. +### `?branch ( -- )` +compile into user memory an incomplete conditional branch. +if the value on the stack is zero the branch is taken. +a 32 bit branch offset must be written immediately after. + ### `0= ( n -- ? )` return true if n is equal to zero. @@ -141,6 +146,10 @@ duplicate the two topmost values on the stack. ### `and ( u1 u2 -- u )` perform bitwise AND on u1 and u2. +### `branch ( -- )` +compile into user memory an incomplete branch. +a 32 bit branch offset must be written immediately after. + ### `brk@ ( -- a )` yields current program break. @@ -167,6 +176,9 @@ bytes are copied in low memory to high memory order. copy u bytes of memory from a1 to a2. bytes are copied in high memory to low memory order. +### `d, ( n -- )` +write a 32 bit value to user memory and increment the user memory pointer. + ### `dp ( -- a )` a variable that contains the lowest free byte of memory in user memory. |
