mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Add rpick
This commit is contained in:
parent
e000fb42ae
commit
b1ed4e474a
1 changed files with 5 additions and 0 deletions
|
@ -562,6 +562,11 @@ alias-builtin xor ^
|
|||
|
||||
: rdrop r> rp@ ! ; \ ( R:w -- )
|
||||
|
||||
\ ( R xu ... x0 u -- xu ... x0 xu )
|
||||
: rpick
|
||||
cells rp@ + cell + @
|
||||
;
|
||||
|
||||
\ ( -- a-addr )
|
||||
\ The bottom address of stacks.
|
||||
\ sp@ and rp@ points bottom if implementation so far is correct.
|
||||
|
|
Loading…
Reference in a new issue