shithub: pokered

ref: 15bcd882288c2f7e4a902a44cd9b90d76306fcf9
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