From 67d25d837ac55f28a366c0a3b262e439a6e75fc3 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 19 Aug 2017 12:15:28 +0200 Subject: Add AmForth --- amforth-6.5/msp430/words/scomma.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 amforth-6.5/msp430/words/scomma.asm (limited to 'amforth-6.5/msp430/words/scomma.asm') diff --git a/amforth-6.5/msp430/words/scomma.asm b/amforth-6.5/msp430/words/scomma.asm new file mode 100644 index 0000000..92614e2 --- /dev/null +++ b/amforth-6.5/msp430/words/scomma.asm @@ -0,0 +1,10 @@ +; compiles a string to the dictionary. Does not add a runtime action. + DW link + DB 0FEh ; immediate +.set link = $ + DB 2,"s",',' + .align 16 +XT_SCOMMA: + DW DOCOLON + DW XT_DUP,XT_TO_R,XT_CCOMMA,XT_IHERE,XT_R_FETCH,XT_DTOI + DW XT_R_FROM,XT_IALLOT,XT_ALIGN,XT_EXIT -- cgit v1.2.3