; TITLE "SMOVE1 - Syslib 4.0" NAME ('MOVEB') ;================================================================= ; The Libraries, Version 4, (C) 1989 by Alpha Systems Corp. ;----------------------------------------------------------------- ; Author : Harold F. Bower ; Derived from SMOVE.Z80 Ver 1.1 by Richard Conn ; Date : 11 Jun 89 ; Version : 1.3 ; Module : SMOVE1 ; Abstract: This module contains the routine MOVEB which moves up ; to 256 bytes of data in memory. ; Revision: ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; Module Entry Points PUBLIC MOVEB ; From SYSLIB Get.. EXT MOVEBC .Z80 CSEG ;=============================================================== ; NAME - MOVEB ; Entry: HL - Points to the first byte of source block ; DE - Points to the first byte of destination block ; B - Number of bytes to move ; Exit : - Nothing returned ; Uses : - None ; Special Requirements: None ;=============================================================== MOVEB: PUSH BC ; Save BC LD C,B ; C = B LD B,0 ; B = 0 CALL MOVEBC ; Use MOVEBC POP BC ; Restore BC RET END