aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/compile.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/compile.asm')
-rw-r--r--amforth-6.5/common/words/compile.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/compile.asm b/amforth-6.5/common/words/compile.asm
new file mode 100644
index 0000000..524cee6
--- /dev/null
+++ b/amforth-6.5/common/words/compile.asm
@@ -0,0 +1,25 @@
+; ( -- )
+; Dictionary
+; read the following cell from the dictionary and append it to the current dictionary position.
+
+.if cpu_msp430==1
+ HEADER(XT_COMPILE,7,"compile",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_COMPILE:
+ .dw $ff07
+ .db "compile",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_COMPILE
+XT_COMPILE:
+ .dw DO_COLON
+PFA_COMPILE:
+.endif
+ .dw XT_R_FROM
+ .dw XT_DUP
+ .dw XT_ICELLPLUS
+ .dw XT_TO_R
+ .dw XT_FETCHI
+ .dw XT_COMMA
+ .dw XT_EXIT