aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/do-plusloop.asm
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-08-26 20:31:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-08-26 20:31:40 +0200
commitd80736ab6e8e3cad2f1a30c6eaba2d6883dbe967 (patch)
tree15962f3d8542ae182d88ac5913a3c4bfce6f2b03 /amforth-6.5/msp430/words/do-plusloop.asm
parent530a312ee523a25e5df475341d201e5bb1296c41 (diff)
Remove AmForth
Diffstat (limited to 'amforth-6.5/msp430/words/do-plusloop.asm')
-rw-r--r--amforth-6.5/msp430/words/do-plusloop.asm20
1 files changed, 0 insertions, 20 deletions
diff --git a/amforth-6.5/msp430/words/do-plusloop.asm b/amforth-6.5/msp430/words/do-plusloop.asm
deleted file mode 100644
index ae41980..0000000
--- a/amforth-6.5/msp430/words/do-plusloop.asm
+++ /dev/null
@@ -1,20 +0,0 @@
-;Z (+loop) n -- R: sys1 sys2 -- | sys1 sys2
-;Z run-time code for +LOOP
-; Add n to the loop index. If loop terminates, clean up the
-; return stack and skip the branch. Else take the inline branch.
-; ; CODEHEADER(xplusloop,7,"(+loop)")
-; DW link
-; DB 0FFh ; not immediate
-;.set link = $
-; DB 7,"(+loop)"
-; .align 16
-XT_DOPLUSLOOP:
- DW $+2
- ADD TOS,INDEX
- MOV @PSP+,TOS ; get new TOS, doesn't change flags
- BIT #100h,SR ; is overflow bit set?
- JZ dobran ; no overflow = loop
- ADD #2,IP ; overflow = loop done, skip branch ofs
- MOV @RSP+,INDEX ; restore old loop values
- MOV @RSP+,LIMIT
- NEXT