shithub: pokered

ref: 27d0b146addee8185178388e0f7a94353d8409ba
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