shithub: pokered

ref: 0fd9ba5670e4f5075b2ef9697df7b5226148dce9
dir: /home/copy_string.asm/

View raw version
; copies a string from de to wStringBuffer
CopyToStringBuffer::
	ld hl, wStringBuffer
	; fall through

; copies a string from de to hl
CopyString::
	ld a, [de]
	inc de
	ld [hli], a
	cp "@"
	jr nz, CopyString
	ret