aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/forth2012/core/erase.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/lib/forth2012/core/erase.frt')
-rw-r--r--amforth-6.5/common/lib/forth2012/core/erase.frt6
1 files changed, 6 insertions, 0 deletions
diff --git a/amforth-6.5/common/lib/forth2012/core/erase.frt b/amforth-6.5/common/lib/forth2012/core/erase.frt
new file mode 100644
index 0000000..eb23f3b
--- /dev/null
+++ b/amforth-6.5/common/lib/forth2012/core/erase.frt
@@ -0,0 +1,6 @@
+\ fill a memory area with zeros
+
+: erase ( addr n -- )
+ 0 fill
+;
+