From d80736ab6e8e3cad2f1a30c6eaba2d6883dbe967 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 26 Aug 2017 20:31:40 +0200 Subject: Remove AmForth --- amforth-6.5/msp430/words/do-loop.asm | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 amforth-6.5/msp430/words/do-loop.asm (limited to 'amforth-6.5/msp430/words/do-loop.asm') diff --git a/amforth-6.5/msp430/words/do-loop.asm b/amforth-6.5/msp430/words/do-loop.asm deleted file mode 100644 index b1a3628..0000000 --- a/amforth-6.5/msp430/words/do-loop.asm +++ /dev/null @@ -1,20 +0,0 @@ -;Z (loop) R: sys1 sys2 -- | sys1 sys2 -;Z run-time code for LOOP -; Add 1 to the loop index. If loop terminates, clean up the -; return stack and skip the branch. Else take the inline branch. -; Note that LOOP terminates when index=8000h. -; ; CODEHEADER(xloop,6,"(loop)") -; DW link -; DB 0FFh ; not immediate -;.set link = $ -; DB 6,"(loop)" -; .align 16 -XT_DOLOOP: - DW $+2 - ADD #1,INDEX - 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 -- cgit v1.2.3