aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/d-minus.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/d-minus.asm')
-rw-r--r--amforth-6.5/msp430/words/d-minus.asm10
1 files changed, 0 insertions, 10 deletions
diff --git a/amforth-6.5/msp430/words/d-minus.asm b/amforth-6.5/msp430/words/d-minus.asm
deleted file mode 100644
index a39db67..0000000
--- a/amforth-6.5/msp430/words/d-minus.asm
+++ /dev/null
@@ -1,10 +0,0 @@
-;C d+ d1/ud1 d2/ud2 -- d3/ud3 sub d1-d2
-; d1-lo d1-hi d2-lo d2-hi -- d3-lo d3 -hi
-; 4(PSP) 2(PSP) @(PSP) TOS -- NOS TOS
-
- CODEHEADER(XT_DMINUS,2,"d-")
- SUB 0(PSP),4(PSP) ; subtract contents of scratchregister X from workregister, result is in scratchregister X
- SUBC TOS,2(PSP) ; subtract content of TOS from the 3rd item, result is in 3rd item
- MOV 2(PSP),TOS ; move contoent of 3rd item to TOS
- ADD #4,PSP ; adjust parameterstackpointer, i.e. nip nip
- NEXT