aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/mplus.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/mplus.asm')
-rw-r--r--amforth-6.5/avr8/words/mplus.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/mplus.asm b/amforth-6.5/avr8/words/mplus.asm
new file mode 100644
index 0000000..28f76bd
--- /dev/null
+++ b/amforth-6.5/avr8/words/mplus.asm
@@ -0,0 +1,14 @@
+; ( d1 n1 -- d2)
+; Arithmetics
+; add a number to a double cell
+VE_MPLUS:
+ .dw $ff02
+ .db "m+"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_MPLUS
+XT_MPLUS:
+ .dw DO_COLON
+PFA_MPLUS:
+ .dw XT_S2D
+ .dw XT_DPLUS
+ .dw XT_EXIT