aboutsummaryrefslogtreecommitdiff
path: root/src/memclear.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/memclear.s')
-rw-r--r--src/memclear.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/memclear.s b/src/memclear.s
index 1bd7e89..7a814cc 100644
--- a/src/memclear.s
+++ b/src/memclear.s
@@ -1,6 +1,8 @@
; void memclear(const char *addr, unsigned int len)
; really does have to be an int for the length.
+ ; NOTE: length must be <= $7fff. not much of a problem, do you
+ ; ever need to zero out >= 32K of RAM at once?
; this is basically bzero(), but optimized for size, not speed.
; bzero() is around 2.3x as fast as this, but it's 3.3x as