aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/nfa2lfa.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/nfa2lfa.asm')
-rw-r--r--amforth-6.5/avr8/words/nfa2lfa.asm16
1 files changed, 16 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/nfa2lfa.asm b/amforth-6.5/avr8/words/nfa2lfa.asm
new file mode 100644
index 0000000..945fb64
--- /dev/null
+++ b/amforth-6.5/avr8/words/nfa2lfa.asm
@@ -0,0 +1,16 @@
+; ( nfa -- lfa )
+; System
+; get the link field address from the name field address
+VE_NFA2LFA:
+ .dw $ff07
+ .db "nfa>lfa",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_NFA2LFA
+XT_NFA2LFA:
+ .dw DO_COLON
+PFA_NFA2LFA:
+ .dw XT_NAME2STRING
+ .dw XT_1PLUS
+ .dw XT_2SLASH
+ .dw XT_PLUS
+ .dw XT_EXIT