aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/m-plus.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/m-plus.asm')
-rw-r--r--amforth-6.5/msp430/words/m-plus.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/amforth-6.5/msp430/words/m-plus.asm b/amforth-6.5/msp430/words/m-plus.asm
new file mode 100644
index 0000000..633e2f8
--- /dev/null
+++ b/amforth-6.5/msp430/words/m-plus.asm
@@ -0,0 +1,6 @@
+;X M+ d n -- d add single to double
+ CODEHEADER(XT_MPLUS,2,"m+")
+ ADD TOS,2(PSP)
+ ADDC #0,0(PSP)
+ MOV @PSP+,TOS
+ NEXT