shithub: pokered

ref: a75dd222709c92ae136d835ff2451391d5a88e45
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