2020-07-05 14:13:01 -04:00
|
|
|
CODE ROT ( a b c -- b c a )
|
2020-07-06 23:31:00 -04:00
|
|
|
HL POP, ( C ) DE POP, ( B ) IY POP, ( A ) chkPS,
|
|
|
|
DE PUSH, ( B ) HL PUSH, ( C ) IY PUSH, ( A )
|
2020-07-05 14:13:01 -04:00
|
|
|
;CODE
|
|
|
|
CODE DUP ( a -- a a )
|
|
|
|
HL POP, chkPS,
|
|
|
|
HL PUSH, HL PUSH,
|
|
|
|
;CODE
|
|
|
|
CODE ?DUP
|
|
|
|
HL POP, chkPS,
|
|
|
|
HL PUSH,
|
|
|
|
HLZ, IFNZ, HL PUSH, THEN,
|
|
|
|
;CODE
|
|
|
|
CODE DROP ( a -- )
|
2020-08-23 08:38:04 -04:00
|
|
|
HL POP, chkPS,
|
2020-04-22 21:19:12 -04:00
|
|
|
;CODE
|