mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Use 'depth' in definition of '.s'
This commit is contained in:
parent
ca90c5df38
commit
5b40121201
1 changed files with 1 additions and 1 deletions
|
@ -1633,7 +1633,7 @@ do-stack 16 cells + do-sp !
|
||||||
: rdepth rp0 rp@ - cell / ;
|
: rdepth rp0 rp@ - cell / ;
|
||||||
|
|
||||||
: .s ( -- )
|
: .s ( -- )
|
||||||
sp0 sp@ - cell- cell / ( depth of the stack )
|
depth
|
||||||
'<' emit 0 u.r '>' emit space
|
'<' emit 0 u.r '>' emit space
|
||||||
sp@ sp0 ( beg end )
|
sp@ sp0 ( beg end )
|
||||||
begin 2dup < while
|
begin 2dup < while
|
||||||
|
|
Loading…
Reference in a new issue