Mercurial > hg > Members > kono > nitros9-code
view lib/alib/memset.a @ 2727:f4870404ccc9 lwtools-port
Adjusted makefile to populate inetd.conf with port number for telnet
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Tue, 31 Jul 2012 13:56:20 -0500 |
parents | 7d70b7e1cb21 |
children | aaba193af04f |
line wrap: on
line source
************************************ * MEMSET: Set bytes in memory to specified value * OTHER MODULES NEEDED: none * ENTRY: X=start of memory * Y=number of bytes to set * B=character to set * EXIT: all registers (except cc) preserved nam Set memory ttl Assembler Library Module psect MEMSET,0,0,0,0,0 MEMSET: pshs x,y loop stb ,x+ leay -1,y dec count bne loop till zero puls x,y,pc endsect