home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
ZCNFG21.LBR
/
CFGLIB.LBR
/
FILL.Z80
< prev
next >
Wrap
Text File
|
1991-10-25
|
256b
|
13 lines
public fill
; Fill memory pointed to by DE with character in A for B bytes
fill: inc b
dec b
ret z ;don't do 0 bytes. Overflow!
fillup: ld (de),a ; Fill with byte in A
inc de ; Point to next
djnz fillup
ret
end