/* * mem.h * * [Generated from mem, 25 September 1996] */ #if !defined(__CC_NORCROFT) || !defined(__arm) #error You must use the Norcroft ARM Compiler for Sapphire programs #endif #pragma include_only_once #pragma force_top_level #ifndef __mem_h #define __mem_h #ifndef __sapphire_h #include "sapphire.h" #endif /*----- Overview ----------------------------------------------------------* * * Functions provided: * * mem_set */ /* --- 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. */ extern routine mem_set; /*----- That's all, folks -------------------------------------------------*/ #endif