; ; mem.sh ; ; Operations on memory blocks ; ; © 1994-1998 Straylight ; ;----- Licensing note ------------------------------------------------------- ; ; This file is part of Straylight's Sapphire library. ; ; Sapphire is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2, or (at your option) ; any later version. ; ; Sapphire is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with Sapphire. If not, write to the Free Software Foundation, ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;----- Overview ------------------------------------------------------------- ; ; Functions provided: ; ; mem_set [ :LNOT::DEF:mem__dfn GBLL mem__dfn ; --- mem_set --- ; ; On entry: R0 == pointer to a block of memory (word-aligned) ; R1 == size of the block ; R2 == word value to store in the block ; ; On exit: -- ; ; Use: Initialises a block by filling every word within it with the ; same value. This is normally 0, although maybe MOVS PC,#0 ; might be useful too. IMPORT mem_set ] ;----- That's all, folks ---------------------------------------------------- END