end)), name="doesPrim")
return NEXT
-end, flags=F_IMMED)
+end, flags=F_IMMED | F_HIDDEN)
DOES_CFA = defWord("DOES>",
[LIT_CFA, LIT_CFA, COMMA_CFA, HERE_CFA, LIT_CFA, 3, ADD_CFA, COMMA_CFA,
: CMOVE ( src dest length -- )
DUP 0<= IF
+ DROP DROP DROP
EXIT
THEN
DROP
;
+: CMOVE> ( src dest length -- )
+ DUP 0<= IF
+ DROP DROP DROP
+ EXIT
+ THEN
+
+ -ROT OVER - ( length src (dest-src) )
+ -ROT DUP ROT + 1- ( (dest-src) src (src+length-1) )
+
+ DO
+ I @
+ OVER I +
+ !
+ -1 +LOOP
+
+ DROP
+;
+
: S" IMMEDIATE ( -- addr len )
STATE @ IF ( compiling? )
['] LITSTRING , ( compile LITSTRING )