*********************************************
*
*        8290.6 GST 76/0.00
*
*        Library of block & string operations
*
*        This file must be included at the end of the assembly
*
*********************************************
*
*        Define Entrypoints
*        ==================
 
 
COMPSTR  EQU   *+0                  0: compare strings
COPYSTR  EQU   *+4                  4: copy strings
COPYBLK  EQU   *+8                  8: copy memory block
COFILL   EQU   *+$C                 C: fill memory block
 
         PAGE
*********************************************
*
*        COMPSTR This routine compares two strings.
*
*        Entry:  A0    first string
*                A1    second string
*
*        Exit:   D0.L  -1  (A0) < (A1)
*                       0  (A0) = (A1)
*                      +1  (A0) > (A1)
*
*********************************************
*
*        COPYSTR Copy a string.
*
*        Entry:  A0    source string
*                A1    destination memory area
*
*        Exit:   All registers peserved
*
*********************************************
*
*        COPYBLK Copy a block of memory.
*
*        If the destination area is at a higher address than the source
*        then the copy will be done backwards.
*
*        Entry:  D0.W  number of bytes to copy
*                A0    source
*                A1    destination
*
*        Exit:   All registers preserved
*
*********************************************
*
*        COFILL Fill an area of memory with a given byte value.
*
*        Entry:  D0.W  number of bytes to fill
*                D1.B  byte value
*                A0    destination
*
*        Exit:   All registers preserved
*
*********************************************
 
