aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/comma.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/comma.asm')
-rw-r--r--amforth-6.5/msp430/words/comma.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/amforth-6.5/msp430/words/comma.asm b/amforth-6.5/msp430/words/comma.asm
new file mode 100644
index 0000000..0f2c8d1
--- /dev/null
+++ b/amforth-6.5/msp430/words/comma.asm
@@ -0,0 +1,10 @@
+;C I, x -- append cell to Code dict
+; XT_IHERE I! 1 CELLS IALLOT ;
+ ; HEADER(COMMA,2,",",DOCOLON)
+ DW link
+ DB 0FFh ; not immediate
+.set link = $
+ DB 1,","
+ .align 16
+XT_COMMA: DW DOCOLON
+ DW XT_IHERE,XT_STOREI,XT_TWO,XT_IALLOT,XT_EXIT