; Library: ZSLIB ; Version: 2.0 ; Module: ZSMSTR ; Version: 1.0 ; Author: Carson Wilson ; Date: January 6, 1990 ; Purpose: Store zero-terminated string at HL to memory at DE. ; PUBLIC MSTR EXTRN MOUT ; ZSLIB ; ; MSTR - Store zero-terminated string at HL to memory at DE ; ; Entry: - points to 0-terminated string. ; - points to memory area for output. ; Exit: - points to byte after output. ; - points to byte following the terminating 0. ; Uses: , . ; MSTR: push af MSTR1: ld a,(hl) inc hl or a jr z,MSTRX ; Done call MOUT ; (DE) <- A, INC DE jr MSTR1 MSTRX: pop af ret end ; End ZSMSTR.Z80