aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/code.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/code.asm')
-rw-r--r--amforth-6.5/avr8/words/code.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/code.asm b/amforth-6.5/avr8/words/code.asm
new file mode 100644
index 0000000..ecbb6d5
--- /dev/null
+++ b/amforth-6.5/avr8/words/code.asm
@@ -0,0 +1,17 @@
+; ( -- ) (C: cchar -- )
+; Compiler
+; create named entry in the dictionary, XT is the data field
+VE_CODE:
+ .dw $ff04
+ .db "code"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_CODE
+XT_CODE:
+ .dw DO_COLON
+PFA_CODE:
+ .dw XT_DOCREATE
+ .dw XT_REVEAL
+ .dw XT_DP
+ .dw XT_ICELLPLUS
+ .dw XT_COMMA
+ .dw XT_EXIT