shithub: pokered

ref: bfd9f617c96af851ad4100b752ea967ef8989edc
dir: /home/copy_string.asm/

View raw version
; copies a string from [de] to [wcf4b]
CopyStringToCF4B::
	ld hl, wcf4b
	; fall through

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