aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/set-recognizer.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/set-recognizer.asm')
-rw-r--r--amforth-6.5/common/words/set-recognizer.asm23
1 files changed, 23 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/set-recognizer.asm b/amforth-6.5/common/words/set-recognizer.asm
new file mode 100644
index 0000000..7d9dc1c
--- /dev/null
+++ b/amforth-6.5/common/words/set-recognizer.asm
@@ -0,0 +1,23 @@
+; ( rec-n .. rec-1 n -- )
+; Interpreter
+; replace the recognizer list
+
+.if cpu_msp430==1
+ HEADER(XT_SET_RECOGNIZERS,15,"set-recognizers",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_SET_RECOGNIZERS:
+ .dw $ff0f
+ .db "set-recognizers",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_SET_RECOGNIZERS
+XT_SET_RECOGNIZERS:
+ .dw DO_COLON
+PFA_SET_RECOGNIZERS:
+.endif
+ .dw XT_DOLITERAL
+ .dw CFG_RECOGNIZERLISTLEN
+ .dw XT_SET_STACK
+ .dw XT_EXIT
+