2020-04-23 15:14:14 -04:00
|
|
|
: ABORT (resSP) QUIT ;
|
|
|
|
|
|
|
|
: = CMP NOT ;
|
|
|
|
: < CMP -1 = ;
|
|
|
|
: > CMP 1 = ;
|
|
|
|
: 0< 32767 > ;
|
2020-05-02 21:21:47 -04:00
|
|
|
: >= < NOT ;
|
|
|
|
: <= > NOT ;
|
|
|
|
: 0>= 0< NOT ;
|
2020-05-04 22:30:29 -04:00
|
|
|
( n l h -- f )
|
|
|
|
: >< 2 PICK > ( n l f ) ROT ROT > AND ;
|
|
|
|
: =><= 2 PICK >= ( n l f ) ROT ROT >= AND ;
|
2020-05-02 21:21:47 -04:00
|
|
|
( a -- a+1 c )
|
|
|
|
: C@+ DUP C@ SWAP 1+ SWAP ;
|
|
|
|
( c a -- a+1 )
|
|
|
|
: C!+ SWAP OVER C! 1+ ;
|