aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/name2interpret.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/name2interpret.asm')
-rw-r--r--amforth-6.5/common/words/name2interpret.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/name2interpret.asm b/amforth-6.5/common/words/name2interpret.asm
new file mode 100644
index 0000000..5a43389
--- /dev/null
+++ b/amforth-6.5/common/words/name2interpret.asm
@@ -0,0 +1,19 @@
+; ( nt -- xt )
+; Tools (ext)
+; get the execution token from the name token
+.if cpu_msp430==1
+ HEADER(XT_NAME2INTERPRET,14,"name>interpret",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_NAME2INTERPRET:
+ .dw $ff0e
+ .db "name>interpret"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_NAME2INTERPRET
+XT_NAME2INTERPRET:
+ .dw DO_COLON
+PFA_NAME2INTERPRET:
+.endif
+ .dw XT_NFA2CFA
+ .dw XT_EXIT