aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/fill.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/fill.asm')
-rw-r--r--amforth-6.5/msp430/words/fill.asm12
1 files changed, 0 insertions, 12 deletions
diff --git a/amforth-6.5/msp430/words/fill.asm b/amforth-6.5/msp430/words/fill.asm
deleted file mode 100644
index 66e7740..0000000
--- a/amforth-6.5/msp430/words/fill.asm
+++ /dev/null
@@ -1,12 +0,0 @@
-;C FILL c-addr u char -- fill memory with char
- CODEHEADER(XT_FILL,4,"fill")
- MOV @PSP+,X ; count
- MOV @PSP+,W ; address
- CMP #0,X
- JZ FILL_X
-FILL_1: MOV.B TOS,0(W) ; store char in memory
- ADD #1,W
- SUB #1,X
- JNZ FILL_1
-FILL_X: MOV @PSP+,TOS ; pop new TOS
- NEXT