Mercurial > hg > Members > kono > nitros9-code
view lib/alib/strhcpy.as @ 3286:b9d9e3e53107
rules.mak: Whitespace fixes
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Thu, 18 Jun 2020 23:55:13 +0200 |
parents | 03f26e88b809 |
children |
line wrap: on
line source
********************************** * STRHCPY: copy sign-bit terminated string * User must ensure there is room in buffer!!! * See also PARSNSTR, this routine does not change * sign-bit termination. * OTHER MODULES NEEDED: strhlen,memmove * ENTRY: X=start of string to move * Y=buffer for copy of string * EXIT: all regs preserved (except cc) nam Copy sign-bit terminated String ttl Assembler Library Module section .text STRHCPY: pshs d lbsr STRHLEN find length of string lbsr MEMMOVE move it puls d,pc endsect