aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/comma.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/comma.asm')
-rw-r--r--amforth-6.5/avr8/words/comma.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/comma.asm b/amforth-6.5/avr8/words/comma.asm
new file mode 100644
index 0000000..a9a903b
--- /dev/null
+++ b/amforth-6.5/avr8/words/comma.asm
@@ -0,0 +1,18 @@
+; ( n -- )
+; Dictionary
+; compile 16 bit into flash at DP
+VE_COMMA:
+ .dw $ff01
+ .db ',',0 ; ,
+ .dw VE_HEAD
+ .set VE_HEAD = VE_COMMA
+XT_COMMA:
+ .dw DO_COLON
+PFA_COMMA:
+ .dw XT_DP
+ .dw XT_STOREI
+ .dw XT_DP
+ .dw XT_1PLUS
+ .dw XT_DOTO
+ .dw PFA_DP
+ .dw XT_EXIT